Merge "UI:Actions list:remove desc column+details screen"
This commit is contained in:
commit
00b1a43d7e
@ -83,7 +83,6 @@ class ActionsTable(tables.DataTable):
|
||||
verbose_name=_("Name"),
|
||||
link="horizon:mistral:actions:detail"
|
||||
)
|
||||
description = tables.Column("description", verbose_name=_("Description"))
|
||||
is_system = tables.Column("is_system", verbose_name=_("Is System"))
|
||||
tags = tables.Column(tags_to_string, verbose_name=_("Tags"))
|
||||
inputs = tables.Column(cut, verbose_name=_("Input"))
|
||||
|
@ -8,6 +8,28 @@
|
||||
|
||||
{% block main %}
|
||||
<div class="detail">
|
||||
<pre>{{ definition }}</pre>
|
||||
<h4>{% trans "Overview" %}</h4>
|
||||
<hr class="header_rule">
|
||||
<dl class="dl-horizontal">
|
||||
<dt>{% trans "Name" %}</dt>
|
||||
<dd>{{ action.name }}</dd>
|
||||
<dt>{% trans "ID" %}</dt>
|
||||
<dd>{{ action.id }}</dd>
|
||||
<dt>{% trans "Description" %}</dt>
|
||||
<dd>{{ action.description }}</dd>
|
||||
<dt>{% trans "Tags" %}</dt>
|
||||
<dd>{{ action.tags }}</dd>
|
||||
<dt>{% trans "Created at" %}</dt>
|
||||
<dd>{{ action.created_at }}</dd>
|
||||
<dt>{% trans "Is system" %}</dt>
|
||||
<dd>{{ action.is_system }}</dd>
|
||||
<dt>{% trans "Updated at" %}</dt>
|
||||
<dd>{{ action.updated_at }}</dd>
|
||||
<dt>{% trans "Scope" %}</dt>
|
||||
<dd>{{ action.scope }}</dd>
|
||||
<dt>{% trans "Input" %}</dt>
|
||||
<dd>{{ action.input }}</dd>
|
||||
</dl>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
@ -63,7 +63,7 @@ class DetailView(generic.TemplateView):
|
||||
def get_context_data(self, **kwargs):
|
||||
context = super(DetailView, self).get_context_data(**kwargs)
|
||||
action = self.get_data(self.request, **kwargs)
|
||||
context['definition'] = action.definition
|
||||
context['action'] = action
|
||||
|
||||
return context
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user