diff --git a/passbook/admin/templates/administration/base.html b/passbook/admin/templates/administration/base.html index 823f39c0b..e32edf477 100644 --- a/passbook/admin/templates/administration/base.html +++ b/passbook/admin/templates/administration/base.html @@ -24,7 +24,7 @@
{% trans 'Name' %} | -{% trans 'Type' %} | +{% trans 'Enabled' %} | +{% trans 'Policy' %} | +{% trans 'Target' %} | |
---|---|---|---|---|---|
-
-
+ {{ binding.name }}
- {% if not binding.bindings.exists %}
-
- {% trans 'Warning: Policy is not assigned.' %}
- {% else %}
-
- {% blocktrans with object_count=binding.bindings.all|length %}Assigned to {{ object_count }} objects.{% endblocktrans %}
- {% endif %}
- | |||||
+ {{ binding.enabled }}
+ |
+
+ {{ binding.policy }}
+ |
+
+ {{ binding.target|verbose_name }}
|
- - - {{ binding|verbose_name }} - - | {% trans 'Edit' %} {% trans 'Delete' %} diff --git a/passbook/admin/templates/administration/flowstagebinding/list.html b/passbook/admin/templates/administration/stage_binding/list.html similarity index 52% rename from passbook/admin/templates/administration/flowstagebinding/list.html rename to passbook/admin/templates/administration/stage_binding/list.html index 68defbd75..7c1d94f79 100644 --- a/passbook/admin/templates/administration/flowstagebinding/list.html +++ b/passbook/admin/templates/administration/stage_binding/list.html @@ -33,33 +33,49 @@ | |
- - {{ binding.order }} - - | -
-
-
- {{ binding.stage.name }}
-
- {% blocktrans with flow=binding.flow %}
- Bound to {{ flow }}.
- {% endblocktrans %}
-
- |
- - - {{ binding.stage }} - - | -- {% trans 'Edit' %} - {% trans 'Delete' %} - | -||
+ {% blocktrans with name=flow.grouper.name %} + Flow {{ name }} + {% endblocktrans %} + | ++ | + | + | ||
+ + {{ binding.order }} + + | +
+
+
+ {{ binding.flow.name }}
+
+ {{ binding.flow }}
+
+ |
+
+
+
+
+ {{ binding.stage.name }}
+
+
+ {{ binding.stage }}
+
+ |
+ + {% trans 'Edit' %} + {% trans 'Delete' %} + | +