Commit Graph

15 Commits

Author SHA1 Message Date
Takashi Kajinami 09d63aefbc Replace deprecated ugettext_lazy and ungettext_lazy
The ugettext_lazy method and the ungettext_lazy method are both
deprecated since Django 3.0[1].

These were already replaced in Horizon repo by [2].

[1] https://docs.djangoproject.com/en/3.0/releases/3.0/#id3
[2] cd7c1b5110fe1f64cd9dfbeb1072b37912d0efee

Change-Id: I6697e4c006e7b8ec94a08ad4625a1980582b4d6d
2022-07-11 02:47:44 +00:00
Akihiro Motoki 3ae1e8aae3 Django 2.0 support
Replace django.core.urlresolves with django.urls

(In Django 2.0) The django.core.urlresolvers module is removed
in favor of its new location, django.urls.
It was deprecated in Django 1.10:
https://docs.djangoproject.com/en/2.0/releases/1.10/#id3

Add py35dj20 job to test Django 2.0 integration.

Change-Id: I6d2e38201387012ba9a02c4b0bd8377895a5919a
2018-05-15 06:14:48 +09:00
Jenkins ba7c0111b8 Merge "Task table - type column would refer to workflow executions accordingly" 2017-01-24 10:48:22 +00:00
Rajiv Kumar ac86dfc55c Removed unnecessary utf-8 encoding
Change-Id: I8195c77f1da137877346f3dc395f71b42cd33086
2017-01-11 08:36:15 +05:30
Gal Margalit 696c330f28 Task table - type column would refer to workflow executions accordingly
* Task table - type column would refer to workflow executions accordingly
* Fixed django wrong url params (no logic changed, just better code)

* Screenshots: http://pho.to/AZeaP

Partially implements blueprint: refactor-execution-link-in-task-executions-screens

Change-Id: I70e7ba1f8a6595d15f30cee3f4f17db4d246a34e
2017-01-03 09:42:59 +00:00
Gal Margalit 2a54532154 mistral-dashboard: added action executions screens
* Added 3 new action executions screens: index, overview, and update dialog
 * Added "type" attribute to task screens, followed by a corresponding link
 * Fixed breadcrumbs issue in detail screens following Horizon Newton change
 * Added state label design to detail screens
 * Added design to boolean fields

 * Screenshots: http://pho.to/AXApU

Implements blueprint: mistral-dashboard-action-execution-screens
Implements blueprint: dashboard-detail-screens-improvements
Partially implements blueprint: refactor-execution-link-in-task-executions-screens
Closes-Bug: #1642246

Change-Id: I4c270b2b23d548d4e1cb7e8507e804e44e27c88f
2016-12-06 10:46:15 +00:00
Cao Xuan Hoang 96bee8d9cc Clean imports in code
This patch set modifies lines which are importing objects
instead of modules. As per openstack import guide lines, user should
import modules in a file not objects.

http://docs.openstack.org/developer/hacking/#imports

Change-Id: I68edb2a90c560b9c485ec4832af65c777e6e7b6c
2016-09-08 15:26:06 +07:00
Gal Margalit d77840ff95 UI: Task & Execution screen refactored
* enhanced django template inheritance
* removed redundant template (html) files
* added link to task overview from execution overview
* when clicking task under execution main table,
  it now opens under task menu, which handles the logic
* same as above - when clicking execution under main tasks table

Screenshots:
http://pasteboard.co/23xFix0r.png
http://pasteboard.co/23jzE8JJ.png

Partially implements blueprint:tasks-screen-improvments
Partially implements blueprint: mistral-dashboard-executions-screen

Change-Id: Ibb4a8814b421b5dffcff264e7517a3b3ba29fdd7
2015-11-11 13:16:09 +00:00
Gal Margalit 85e0a077b3 UI: Task & Execution screen refactored
* code view is now a public template
* emptyform is now a public form

* tasks overview screen
  * add state info field
  * add iso filter to time fields
  * add workflow link
  * refactored detail layout

* tasks main screen
   * main table now has result and
      published columns which use the
      code view template

Screenshots:
http://pasteboard.co/1T2U8Ers.png
http://pasteboard.co/1T2Son9w.png
http://pasteboard.co/1Uj47Rvk.png

Partially implements blueprint: tasks-screen-improvments
Partially implements blueprint: mistral-dashboard-executions-screen

Change-Id: I8978746f645949aed174f893a5195073f156e24d
2015-11-05 11:18:02 +00:00
Liat Fried 3de32160a9 Mistral-dashboard: Tasks list-addition of Execution detail screen
* Added “Execution detail” screen  link

Implements blueprint: tasks-screen-improvments
Change-Id: I21f615c576f86364085e458b451ac02646882656
2015-09-17 11:32:02 +00:00
Liat Fried 12432e6fec mistral-dashboard: added Task details overview screen infrastructure
* Added “Task details” overview screen which shows a detailed view of a specific task.
* no visible changes cause we're not yet linking there.

Partially implements blueprint: tasks-screen-improvments

Change-Id: If4f5efe99e7860f4fcc85f5cc5da2c27796974f0
2015-08-27 13:08:01 +00:00
Zhenguo Niu a400d1997b Show task result when click the id
Change-Id: I03f9892e4f9c89c658a84f973c984fea2e0849aa
Closes-Bug: #1471784
2015-07-15 20:34:01 +08:00
Zhenguo Niu 3ea61da17f Wrap mistralclient code in api.py
All mistralclient specific code should be wrapped in api.py,
see discusstion on:
https://review.openstack.org/#/c/198056/1/mistraldashboard/executions/views.py

Change-Id: Idcf94f523473bdb31c257ca2054942fe79ea54ba
2015-07-03 18:51:22 +08:00
Renat Akhmerov f928ac885e Making style changes and adding AUTHORS file
Change-Id: I3238253e03d9f80975c65a3efc84bd202b338815
2014-09-30 11:31:32 +07:00
Kirill Izotov bb03d06ebe Modify to use API v2
Change-Id: Iacaab88d7ce8618aa7331e8cb7f23c69191e5f49
Implements: blueprint mistral-ui
2014-09-15 14:57:59 +07:00