2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-08 14:37:53 +00:00

[svn] * Fix bugs that were causing broken wikilinks. *Add edit link to mugshots. *make admin url trailing-slash tolerant

This commit is contained in:
substantialnoninfringinguser
2009-06-12 05:39:30 +01:00
parent 5946e159bc
commit 9b44731c33
7 changed files with 25 additions and 15 deletions

View File

@@ -1,9 +1,9 @@
{% extends "base.html" %}
{% load link %}
{% block title %}Troggle: all {{object_list.1.meta.object_name}} objects{%endblock%}
{% block title %}Troggle: {{object_list.1.meta.object_name}} objects{%endblock%}
{% block contentheader %}
<h1>All {{object_list.0.object_name}} objects</h1>
<h1>{{object_list.0.object_name}} objects</h1>
{% endblock contentheader %}
{% block content %}

View File

@@ -18,7 +18,8 @@
{% if pic.is_mugshot %}
<div class="figure">
<p> <img src="{{ pic.thumbnail_image.url }}" class="thumbnail" />
<p> {{ pic.caption }}
<p> {{ pic.caption }}</p>
<p> <a href="{{ pic.get_admin_url }}">edit {{pic}}</a> </>
</p>
</p>
</div>