Changeset 407
- Timestamp:
- 09/23/08 17:35:06 (4 months ago)
- Files:
-
- trunk/src/dm/django/templates/registry/master.html (modified) (1 diff)
- trunk/src/dm/django/templates/registry/read.html (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/dm/django/templates/registry/master.html
r317 r407 10 10 {% endif %} 11 11 </div> 12 13 {% if view.canApprovePersons %} 14 {% if view.registry.persons.getPending.count %} 15 <div class="box"> 16 <ul> 17 <li><a href="{{ uriPrefix }}/persons/pending/"><b>Pending Registrations ({{ view.registry.persons.getPending.count }})</b></a></li> 18 </ul> 19 </div> 20 {% endif %} 21 {% endif %} 22 12 23 {% endblock %} 13 24 trunk/src/dm/django/templates/registry/read.html
r377 r407 5 5 <h2>{{domainClassName}} {{domainObjectPersonalLabel}}</h2> 6 6 7 {% if view.canUpdateDomainObject %} 8 <form action="{{uriPrefix}}/{{registryPath}}/update/" method="post"> 9 <input type="submit" value="Update »" /> 10 <br /><br /> 11 </form> 12 {% endif %} 7 13 <form> 14 8 15 <fieldset> 9 16 {% block fieldset_details_before %}{% endblock %} … … 23 30 {% if namedValue.isDomainObjectRef %} 24 31 {% if namedValue.isSimpleOption %} 25 { { namedValue.label }}32 {% firstof namedValue.label " " %} 26 33 {% else %} 27 34 <a href="{{uriPrefix}}/{{namedValue.registryAttrName}}/{{namedValue.value}}/">{{namedValue.label }}</a> … … 29 36 {% else %} 30 37 {% if namedValue.isAssociateList %} 31 {% for associatedNamedValue in namedValue.associatedNamedValues %} 38 {% if namedValue.associatedNamedValues %} 39 {% for associatedNamedValue in namedValue.associatedNamedValues %} 32 40 <a href="{{uriPrefix}}/{{associatedNamedValue.associatedObject.getRegistryAttrName}}/{{associatedNamedValue.key}}/">{{associatedNamedValue.label }}</a> 33 {% endfor %} 41 {% endfor %} 42 {% else %} 43 44 {% endif %} 34 45 {% else %} 35 {{ namedValue.label }}46 {% firstof namedValue.label " " %} 36 47 {% endif %} 37 48 {% endif %}
