forked from expo/troggle
[svn] * Fix bugs that were causing broken wikilinks. *Add edit link to mugshots. *make admin url trailing-slash tolerant
This commit is contained in:
@@ -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 %}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user