Commit Graph

13 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
Sharat Sharma 16985029f6 Change the Next button to Validate
In Workbooks -> Create Workbook, when we choose “Direct input” for
“Definition source” field and enter a workbook definition it
proposes to click “Next” button and then on the next screen we
finally see “Create” button. If clicking “Next” does validation
then it is not obvious for the user. So, change the button to
"Validate".

Change-Id: I5a795c08a3b7252f330d976204238a7d27539770
Closes-Bug: 1648390
2017-03-31 07:06:26 +00:00
Rajiv Kumar ac86dfc55c Removed unnecessary utf-8 encoding
Change-Id: I8195c77f1da137877346f3dc395f71b42cd33086
2017-01-11 08:36:15 +05:30
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
hardik cc7f946ece Changed titles of modal forms.
Modal forms titles has been changed for
"Create Workbooks", "Update Workbooks",
"Create Workflows" and "Update Workflows".

Change-Id: I72abddf71a5704dcaee39b37159035163219cdfa
Closes-Bug: #1505570
2015-09-27 10:05:32 +05:30
Zhenguo Niu 8e1ddfabc4 Add update workbook support
Partially implements blueprint mistral-dashboard-crud-operations

Change-Id: I84b44a5d33718ddef6ac64dcd4fe59f2d1ee914c
2015-07-20 16:48:02 +08:00
Zhenguo Niu 9235096427 Add create workbook support
Partially implements blueprint mistral-dashboard-crud-operations

Change-Id: If6bcf09e1f3269e8b1a9ad7c7e98a692e7656682
2015-07-15 15:07:50 +08:00
Zhenguo Niu 5de33e6fa5 Show workbook definition
Add a link to workbook name field to show the definition.

Partially implements blueprint mistral-dashboard-crud-operations

Change-Id: Iabf0632282840f25466810c597e8810aacfa15ea
2015-07-10 16:54:36 +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
Kirill Izotov bb03d06ebe Modify to use API v2
Change-Id: Iacaab88d7ce8618aa7331e8cb7f23c69191e5f49
Implements: blueprint mistral-ui
2014-09-15 14:57:59 +07:00
Kirill Izotov 744309b2e1 Horizon plugin system compatibility
- added enabled script
- removed horizon from requirements
- updated README
- refactor folder structure

Change-Id: If3fb4eddec26c5817cb0971eb7c4fe2ebb5641f3
Implements: blueprint mistral-ui
2014-06-23 14:54:57 +07:00