diff options
author | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-07-22 16:18:00 +0100 |
---|---|---|
committer | substantialnoninfringinguser <substantialnoninfringinguser@gmail.com> | 2009-07-22 16:18:00 +0100 |
commit | 57ede091c42878f11b33a2c77aa73a71bd4723dd (patch) | |
tree | 7ce10a69ac98b29265124361f290088a44cb70aa /templates | |
parent | e5033c7b69a2210087c502b54c5fd07d57c5a0d2 (diff) | |
download | troggle-57ede091c42878f11b33a2c77aa73a71bd4723dd.tar.gz troggle-57ede091c42878f11b33a2c77aa73a71bd4723dd.tar.bz2 troggle-57ede091c42878f11b33a2c77aa73a71bd4723dd.zip |
[svn] Various bug fixes, using more raw_id fields in admin so it loads faster. I had to put onLoad="contentHeight();" back into the base template. This is a bad solution, I would rather use Martin's, but it wasn't working.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 2 | ||||
-rw-r--r-- | templates/calendar.html | 2 | ||||
-rw-r--r-- | templates/cave_description.html | 2 | ||||
-rw-r--r-- | templates/survexblock.html | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/templates/base.html b/templates/base.html index 23e90ae..7f5a278 100644 --- a/templates/base.html +++ b/templates/base.html @@ -13,7 +13,7 @@ {% block head %}{% endblock %}
</head>
-<body>
+<body onLoad="contentHeight();">
<div id="header">
<h1>CUCC Expeditions to Austria: 1976 - 2009</h1>
diff --git a/templates/calendar.html b/templates/calendar.html index 5ff2778..0bc7dfd 100644 --- a/templates/calendar.html +++ b/templates/calendar.html @@ -59,7 +59,7 @@ {% for personexpedition in expedition.personexpedition_set.all %}
<tr>
<td class="name">
- <a href="">{{ personexpedition.person }}</a>
+ <a href="{{ personexpedition.person.get_absolute_url }}">{{ personexpedition.person }}</a>
</td>
{% if personexpedition.ListDaysTF %}
diff --git a/templates/cave_description.html b/templates/cave_description.html index 12b9e1b..572de78 100644 --- a/templates/cave_description.html +++ b/templates/cave_description.html @@ -1,6 +1,6 @@ {% extends "cavebase.html" %}
{% load wiki_markup %}
-{% block title %} {{cave_description.short_name}} {% endblock title %}
+{% block title %} {{cave_description}} {% endblock title %}
{% block editLink %}<a href={{cave_description.get_admin_url}}>Edit description {{cave_description}}</a>{% endblock %}
{% block contentheader %}
diff --git a/templates/survexblock.html b/templates/survexblock.html index d4447af..eaf06e5 100644 --- a/templates/survexblock.html +++ b/templates/survexblock.html @@ -31,7 +31,7 @@ <table>
{% for personrole in survexblock.GetPersonroles %}
<tr>
- <td><a href="{{personrole.get_absolute_url}}">{{personrole.person}}</a></td>
+ <td><a href="{{personrole.person.get_absolute_url}}">{{personrole.person}}</a></td>
<td>{{personrole.roles}}</td>
</tr>
{% endfor %}
|