diff options
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 %}
|