Changeset 338
- Timestamp:
- 04/30/08 22:32:25 (8 months ago)
- Files:
-
- trunk/src/dm/django/templates/registry/list.html (modified) (1 diff)
- trunk/src/dm/django/templates/registry/listall.html (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/dm/django/templates/registry/list.html
r330 r338 58 58 {% endblock %} 59 59 {% block list_item_delete_btn %} 60 {% if view.canDeleteDomainObject %}60 {% if view.canDeleteDomainObject %} 61 61 <a href="{{uriPrefix}}/{{registryPath}}/{{domainObject.getRegisterKeyValue}}/delete/" title="{{domainObject.getRegisterKeyValue}}" title="Delete"> 62 62 <img height="20" width="20" src="http://{{ systemMediaSocket }}{{ mediaPrefix }}/images/icon-delete.png" alt="Delete" /> 63 63 </a> 64 {% endif %}64 {% endif %} 65 65 {% endblock %} 66 {% block list_item_actions_extn %} 67 {% endblock %} 66 {% block list_item_actions_extn %}{% endblock %} 68 67 </td> 69 68 {% endif %} trunk/src/dm/django/templates/registry/listall.html
r314 r338 5 5 <h2>{{registerNameTitle}}</h2> 6 6 7 {% if isRegisterCountZero%}8 7 {% block list_table_comment %} 8 {% if isRegisterCountZero %} 9 9 <p>There are no {{registerName}} at this time.</p> 10 11 {% else %} 12 {% if isRegisterCountSingle %} 13 10 {% else %} 11 {% if isRegisterCountSingle %} 14 12 <!-- <p>There is one registered.</p> --> 15 16 {% else %} 17 13 {% else %} 18 14 <p> 19 15 There are {{ registerCount }} registered {{registerName}}. 20 16 </p> 21 22 23 {% endif %} 24 {% endif %} 17 {% endif %} 18 {% endif %} 19 {% endblock %} 25 20 26 21 {% if registerCount %} … … 35 30 </tr> 36 31 {% for domainObject in objectRegister.getSortedList %} 37 <tr >32 <tr{% block is_domain_object_inactive%}{% endblock %}> 38 33 <td> 39 34 <a href="{{uriPrefix}}/{{registryPath}}/{{domainObject.getRegisterKeyValue}}/" title="{{domainObject.getRegisterKeyValue}}">{{domainObject.getLabelValue}}</a> … … 42 37 {% if view.canUpdateDomainObject %} 43 38 <td> 44 <a href="{{uriPrefix}}/{{registryPath}}/{{domainObject.getRegisterKeyValue}}/update/" title="{{domainObject.getRegisterKeyValue}}" title="Update"> 39 {% block list_item_update_btn %} 40 <a href="{{uriPrefix}}/{{registryPath}}/{{domainObject.getRegisterKeyValue}}/update/" title="Update"> 45 41 <img height="20" width="20" src="http://{{ systemMediaSocket }}{{ mediaPrefix }}/images/icon-edit.png" alt="Update" /> 46 42 </a> 43 {% endblock %} 44 {% block list_item_delete_btn %} 47 45 {% if view.canDeleteDomainObject %} 48 <a href="{{uriPrefix}}/{{registryPath}}/{{domainObject.getRegisterKeyValue}}/delete/" title=" {{domainObject.getRegisterKeyValue}}" title="Delete">46 <a href="{{uriPrefix}}/{{registryPath}}/{{domainObject.getRegisterKeyValue}}/delete/" title="Delete"> 49 47 <img height="20" width="20" src="http://{{ systemMediaSocket }}{{ mediaPrefix }}/images/icon-delete.png" alt="Delete" /> 50 48 </a> 51 49 {% endif %} 50 {% endblock %} 51 {% block list_item_actions_extn %}{% endblock %} 52 52 </td> 53 53 {% endif %}
