~ubuntu-branches/ubuntu/jaunty/python-django/jaunty-backports

« back to all changes in this revision

Viewing changes to django/contrib/databrowse/templates/databrowse/object_detail.html

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2008-11-15 19:15:33 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20081115191533-xbt1ut2xf4fvwtvc
Tags: 1.0.1-0ubuntu1
* New upstream release:
  - Bug fixes.

* The tests/ sub-directory appaers to have been dropped upstream, so pull
  our patch to workaround the tests and modify the rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
{% block content %}
6
6
 
7
 
<div id="breadcrumbs"><a href="{{ root_url }}">Home</a> / <a href="{{ object.model.url }}">{{ object.model.verbose_name_plural|capfirst }}</a> / {{ object|escape }}</div>
 
7
<div id="breadcrumbs"><a href="{{ root_url }}">Home</a> / <a href="{{ object.model.url }}">{{ object.model.verbose_name_plural|capfirst }}</a> / {{ object }}</div>
8
8
 
9
 
<h1>{{ object.model.verbose_name|capfirst }}: {{ object|escape }}</h1>
 
9
<h1>{{ object.model.verbose_name|capfirst }}: {{ object }}</h1>
10
10
 
11
11
<table class="objectinfo">
12
12
{% for field in object.fields %}
15
15
<td>
16
16
{% if field.urls %}
17
17
{% for value, url in field.urls %}
18
 
{% if url %}<a href="{{ url }}">{% endif %}{{ value|escape }}{% if url %}</a>{% endif %}{% if not forloop.last %}, {% endif %}
 
18
{% if url %}<a href="{{ url }}">{% endif %}{{ value }}{% if url %}</a>{% endif %}{% if not forloop.last %}, {% endif %}
19
19
{% endfor %}
20
20
{% else %}None{% endif %}
21
21
</td>
29
29
  {% if related_object.object_list %}
30
30
  <ul class="objectlist">
31
31
    {% for object in related_object.object_list %}
32
 
    <li class="{% cycle 'odd' 'even' %}"><a href="{{ object.url }}">{{ object|escape }}</a></li>
 
32
    <li class="{% cycle 'odd' 'even' %}"><a href="{{ object.url }}">{{ object }}</a></li>
33
33
    {% endfor %}
34
34
  </ul>
35
35
  {% else %}