summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-07-22 16:18:00 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-07-22 16:18:00 +0100
commit263b640641b811ce0dae6b60c509322acf12817c (patch)
treef53a81e1125c8a8d3ddd40a331ab81340a230ed6 /templates
parent84ad39f24a2939a7cb854f509fcc1bb25940191d (diff)
downloadtroggle-263b640641b811ce0dae6b60c509322acf12817c.tar.gz
troggle-263b640641b811ce0dae6b60c509322acf12817c.tar.bz2
troggle-263b640641b811ce0dae6b60c509322acf12817c.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.html2
-rw-r--r--templates/calendar.html2
-rw-r--r--templates/cave_description.html2
-rw-r--r--templates/survexblock.html2
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 %}