Changeset 343

Show
Ignore:
Timestamp:
05/02/08 20:05:57 (7 months ago)
Author:
johnbywater
Message:

Added a few more template blocks.

Files:

Legend:

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

    r341 r343  
    1313{% endif %} 
    1414 
    15 <h2>{{registerNameTitle}}</h2> 
     15{% block content_title %}<h2>{{registerNameTitle}}</h2>{% endblock %} 
    1616 
    1717{% block table_comment %} 
     18 
     19  {% block table_comment_before %}{% endblock %} 
     20 
    1821  {% if isCountZero %} 
    1922  <p>There are no {{registerName}} at this time.</p> 
    2023  {% else %} 
    2124    {% if isCountSingle %} 
    22   <p>There is only one record.</p> 
     25  <p>&nbsp;</p> 
    2326    {% else %} 
    2427  <p> 
    25     There are {{ objectCount }} registered {{registerName}}. 
     28    There are {{ objectCount }} {{registerName}}. 
    2629      {% if view.hasListallPage and showRegisterAllLink %} 
    2730    <a href="{{uriPrefix}}/{{registryPath}}/listall/">View full list.</a> 
     
    3033    {% endif %} 
    3134  {% endif %} 
     35 
     36  {% block table_comment_after %}{% endblock %} 
     37 
    3238{% endblock %} 
    3339