Commit Graph

8 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
manchandavishal f5473fc236 Fix gate jobs
This patch update the following:
* add ignore_basepython_conflict = true in tox.ini file.
* replace horizon tarballs dependency with constraints file.
* update hacking version to latest 4.0.0 version.
* fix pep8 warnings.

Change-Id: If0275b78f9084e314e6a69e267a79fc4472c0dfe
2021-02-16 18:06:05 +00:00
pengyuesheng 773b34937c Remove redundant exception handling
Some interfaces have been treated abnormally in [1] and [2],
The exception has been processed using handle_errors,
there is no need to do additional processing later.

[1] https://github.com/openstack/mistral-dashboard/blob/master/mistraldashboard/api.py#L358-L365
[2] https://github.com/openstack/mistral-dashboard/blob/master/mistraldashboard/api.py#L347-L355

Change-Id: I0dd4709072e23615054d4c8511f0766bab3a62ea
2019-07-01 11:09:19 +08:00
pengyuesheng 3be30d09d7 The columns out of page range
Too many columns in the table, resulting in out of page range,
affecting the appearance.
Some information can be seen on the details page,
I think it can be deleted from the table.

Change-Id: Id3b45726f14087088767c5171b14fd8ec12da9ef
2019-05-31 14:23:26 +08: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
Rajiv Kumar ac86dfc55c Removed unnecessary utf-8 encoding
Change-Id: I8195c77f1da137877346f3dc395f71b42cd33086
2017-01-11 08:36:15 +05:30
Gal Margalit 907cb4de54 Fixed: Dashboard: "Run action" functionality doesn't work
Change-Id: I1ebd9f612957aaaaf864ea6befdff5e5a459b160
Closes-Bug: #1648420
2016-12-21 11:14:40 +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