14 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
0af8c03faf Cleanup for Refactor-error-messages
This patch is a clean-up patch for refactor-error-messages bp
which remove the exception message from base message otherwise
the same exception message display twice like
this https://ibb.co/XyFWMdz .

Change-Id: Ib56b35b164057b821b5e9755202b87c9e1ea5572
2020-08-26 12:22:42 +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
Gal Margalit
91fac9f1b1 mistral-dashboard:fixed boolean field design bug
* boolean field design - removed the false check from detail screens,
  it is actually a bug: false is a valid value - and has a matching
  design.

Change-Id: Ifbec1757026f69abe6035ca35d0275c534e09b71
2016-12-07 09:21:25 +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
ba78e5d2f6 Fix [ui] Actions screen pagination supports only descending order
* fix action pagination order - added reverse flag,
  same mechanism in horizon glance code.

Change-Id: Ibe7c2c5196c330c49dce42347c38721c176c17ab
Closes-Bug: #1546021
2016-02-22 14:38:07 +00:00
Gal Margalit
ff8e684d84 UI: Actions screen improvements
* added pagination:  adressed all comments given to Liat on:
  https://review.openstack.org/#/c/266826/
* removed redundant template inheritance
* resolved bug: [ui] Pagination is absent in the "Actions" tab
* resolved bug: [ui] Every click on "Actions" tab takes too much time
* resolved bug: [ui] Problem with "Actions" page layout

Screenshots:
  http://pasteboard.co/1yhuS10g.png

Partially implements blueprint: Actions-screen-improvements
Closes-Bug: #1505657
Closes-Bug: #1505668
Closes-Bug: #1505662

Change-Id: I4c15e39830ca425a8321b09e7d6039e6623eea8b
2016-02-16 09:48:56 +00:00
Liat Fried
e93c979197 Mistral-dashboard: Actions screen
Added “Run Action” screen to each row
which allows of a specific action execution run.

Added "Filter Action" to actions list.

Print screen
http://pasteboard.co/vRURv4E.png
http://pasteboard.co/VqKFjEw.png

Partially implements blueprint: Actions-screen-improvements
Closes-Bug: #1505665
Change-Id: I359b402bbb60defe40112c7c95c7e18351277107
2016-01-24 08:05:51 +00:00
Liat Fried
04798dcd48 UI:Actions list:remove desc column+details screen
* Removed “Description” column.
* Added “Action details” overview screen
  which shows a detailed view of specific action.

Screen: http://pasteboard.co/2aNN6XAH.png

Partially implements blueprint: Actions-screen-improvements
Closes-Bug: 1505659
Change-Id: Ie0298d9856f88a5ecca0ea0497bc9c1b9ba83c9f
2015-11-16 09:03:11 +00:00
Zhenguo Niu
386f8342a6 Add update action support
Partially implements blueprint mistral-dashboard-crud-operations

Change-Id: I11241c2c5b8dd3e0f1115cf8bd7df160b7437f82
2015-08-11 23:56:43 +08:00
Zhenguo Niu
9f5ea7c56c Add create action support
Partially implements blueprint mistral-dashboard-crud-operations

Change-Id: Ibb45f55e72ab37c3942a165b7f9a51522ce75d26
2015-08-11 23:56:12 +08:00
Zhenguo Niu
c85c3a6bbe Show Action definition
Partially implements blueprint mistral-dashboard-crud-operations

Change-Id: Ib275d2fb772278d081af69c56dca9d78c46c127c
2015-08-06 23:48:52 +00:00
Zhenguo Niu
c4822e3314 Add actions panel
Partially implements blueprint mistral-dashboard-crud-operations

Change-Id: I943c11c63dd5f12df82058a10bfd015d50d41d8c
2015-08-07 07:46:56 +08:00