Changeset 325

Show
Ignore:
Timestamp:
04/10/08 01:41:49 (9 months ago)
Author:
johnbywater
Message:

Added template blocks around list item action buttons.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/dm/django/templates/registry/list.html

    r324 r325  
    4343      <a href="{{uriPrefix}}/{{registryPath}}/{{domainObject.getRegisterKeyValue}}/" title="{{domainObject.getRegisterKeyValue}}">{{domainObject.getLabelValue}}</a> 
    4444    </td> 
    45     {% block list_table_row_extn %}{% endblock %}  
     45    {% block list_table_row_extn %}{% endblock %} 
    4646    {% if view.canUpdateDomainObject %} 
    4747    <td> 
     48      {% block list_item_update_btn %} 
    4849      <a href="{{uriPrefix}}/{{registryPath}}/{{domainObject.getRegisterKeyValue}}/update/" title="{{domainObject.getRegisterKeyValue}}" title="Update"> 
    4950        <img height="20" width="20" src="http://{{ systemMediaSocket }}{{ mediaPrefix }}/images/icon-edit.png" alt="Update" /> 
    5051      </a> 
     52      {% endblock %} 
     53      {% block list_item_delete_btn %} 
    5154      {% if view.canDeleteDomainObject %} 
    5255      <a href="{{uriPrefix}}/{{registryPath}}/{{domainObject.getRegisterKeyValue}}/delete/" title="{{domainObject.getRegisterKeyValue}}" title="Delete"> 
     
    5457      </a> 
    5558      {% endif %} 
     59      {% endblock %} 
    5660    </td> 
    5761    {% endif %}