Changeset 392

Show
Ignore:
Timestamp:
09/11/08 14:56:34 (4 months ago)
Author:
johnbywater
Message:

Checking in merged changes left on an older machine (This Might Break Something TM).

Files:

Legend:

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

    r367 r392  
    1616 
    1717{% block table_comment %} 
     18   
     19  <div id="register-table"></div> 
    1820 
    1921  {% block table_comment_before %}{% endblock %} 
     
    3840{% endblock %} 
    3941 
    40 {% if showRegisterIndex %} 
     42{% if registerCount %} 
     43{% if isRegisterCountLow %} 
     44 
     45<div id="register-table"> 
     46  <table> 
     47  <tr> 
     48    <th>{{domainClassName}}</th> 
     49    {% block list_table_head_extn %}{% endblock %}  
     50    {% if view.canUpdateDomainObject %} 
     51    <th>Actions</th> 
     52    {% endif %} 
     53  </tr> 
     54  {% for domainObject in objectRegister.getSortedList %} 
     55  <tr> 
     56    <td> 
     57      <a href="{{uriPrefix}}/{{registryPath}}/{{domainObject.getRegisterKeyValue}}/" title="{{domainObject.getRegisterKeyValue}}">{{domainObject.getLabelValue}}</a> 
     58    </td> 
     59    {% block list_table_row_extn %}{% endblock %}  
     60    {% if view.canUpdateDomainObject %} 
     61    <td> 
     62      <a href="{{uriPrefix}}/{{registryPath}}/{{domainObject.getRegisterKeyValue}}/update/" title="{{domainObject.getRegisterKeyValue}}" title="Update"> 
     63        <img height="20" width="20" src="http://{{ systemMediaSocket }}{{ mediaPrefix }}/images/icon-edit.png" alt="Update" /> 
     64      </a> 
     65      {% if view.canDeleteDomainObject %} 
     66      <a href="{{uriPrefix}}/{{registryPath}}/{{domainObject.getRegisterKeyValue}}/delete/" title="{{domainObject.getRegisterKeyValue}}" title="Delete"> 
     67        <img height="20" width="20" src="http://{{ systemMediaSocket }}{{ mediaPrefix }}/images/icon-delete.png" alt="Delete" /> 
     68      </a> 
     69      {% endif %} 
     70    </td> 
     71    {% endif %} 
     72  </tr> 
     73  {% endfor %} 
     74  </table> 
     75</div> 
     76 
     77{% else %} 
    4178<div id="alphasearch"> 
    4279  <a href="{{uriPrefix}}/{{registryPath}}/find/a/">A</a> 
     
    116153{% endif %} 
    117154 
     155{% block creation %} 
    118156{% if view.canCreateDomainObject %} 
    119157  <h3>Register new {{registerName}}</h3> 
     
    128166  <br> 
    129167{% endif %} 
     168{% endblock %} 
    130169 
    131170{% if 0 %}