Changeset 339

Show
Ignore:
Timestamp:
05/01/08 23:23:05 (7 months ago)
Author:
johnbywater
Message:

Added more block tags to registry templates.

Files:

Legend:

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

    r330 r339  
    7373<table> 
    7474  <tr> 
    75     <th>{{domainClassName}}</th> 
     75    {% block search_key_name %}<th>{{domainClassName}}</th>{% endblock %} 
    7676    {% block find_table_head_extn %}{% endblock %} 
    7777    {% if view.canUpdateDomainObject %} 
     
    8181    {% for domainObject in domainObjectList %} 
    8282  <tr{% block is_domain_object_inactive%}{% endblock %}> 
     83    {% block search_key_value %} 
    8384    <td> 
    8485      <a href="{{uriPrefix}}/{{registryAttribute}}/{{ domainObject.getRegisterKeyValue }}/" title="{{ domainObject.getPersonalLabelValue }}">{{ domainObject.getPersonalLabel }}</a> 
    8586    </td> 
     87    {% endblock %} 
    8688    {% block find_table_row_extn %}{% endblock %} 
    8789    {% if view.canUpdateDomainObject %} 
  • trunk/src/dm/django/templates/registry/list.html

    r338 r339  
    3232<table> 
    3333  <tr> 
    34     <th>{{domainClassName}}</th> 
     34    {% block list_key_name %}<th>{{domainClassName}}</th>{% endblock %} 
    3535    {% block list_table_head_extn %}{% endblock %}  
    3636    {% if view.canUpdateDomainObject %} 
     
    4040  {% for domainObject in objectRegister.getSortedList %} 
    4141  <tr{% block is_domain_object_inactive%}{% endblock %}> 
     42    {% block list_key_value %} 
    4243    <td> 
    4344      <a href="{{uriPrefix}}/{{registryPath}}/{{domainObject.getRegisterKeyValue}}/" title="{{domainObject.getRegisterKeyValue}}">{{domainObject.getLabelValue}}</a> 
    4445    </td> 
     46    {% endblock %} 
    4547    {% block list_table_row_extn %}{% endblock %} 
    4648    {% if view.canUpdateDomainObject %} 
  • trunk/src/dm/django/templates/registry/listall.html

    r338 r339  
    3232  <tr{% block is_domain_object_inactive%}{% endblock %}> 
    3333    <td> 
     34      {% block list_item_key_label %} 
    3435      <a href="{{uriPrefix}}/{{registryPath}}/{{domainObject.getRegisterKeyValue}}/" title="{{domainObject.getRegisterKeyValue}}">{{domainObject.getLabelValue}}</a> 
     36      {% endblock %} 
    3537    </td> 
    3638    {% block list_table_row_extn %}{% endblock %}  
  • trunk/src/dm/django/templates/registry/search.html

    r330 r339  
    7373<table> 
    7474  <tr> 
    75     <th>{{domainClassName}}</th> 
     75    {% block search_key_name %}<th>{{domainClassName}}</th>{% endblock %} 
    7676    {% block search_table_head_extn %}{% endblock %} 
    7777    {% if view.canUpdateDomainObject %} 
     
    8181    {% for domainObject in domainObjectList %} 
    8282  <tr{% block is_domain_object_inactive%}{% endblock %}> 
     83    {% block search_key_value %} 
    8384    <td> 
    8485      <a href="{{uriPrefix}}/{{registryAttribute}}/{{ domainObject.getRegisterKeyValue }}/" title="{{ domainObject.getPersonalLabelValue }}">{{ domainObject.getPersonalLabel }}</a> 
    8586    </td> 
     87    {% endblock %} 
    8688    {% block search_table_row_extn %}{% endblock %} 
    8789    {% if view.canUpdateDomainObject %}