Removed id numbers from page titles for person, venue & organisation detail views

This commit is contained in:
David Taylor
2015-07-19 16:25:41 +01:00
parent 2ab27daaab
commit 796f4b29cb
4 changed files with 7 additions and 7 deletions

View File

@@ -1,13 +1,13 @@
{% extends request.is_ajax|yesno:"base_ajax.html,base.html" %}
{% load widget_tweaks %}
{% block title %}Person {{ object.pk|stringformat:"05d" }} | {{ object.name }}{% endblock %}
{% block title %}Person | {{ object.name }}{% endblock %}
{% block content %}
<div class="row">
{% if not request.is_ajax %}
<div class="col-sm-12">
<h1>Person {{ object.pk|stringformat:"05d" }} | {{ object.name }}</h1>
<h1>Person | {{ object.name }}</h1>
</div>
<div class="col-sm-12 text-right">