From d4dc2cb4569d87c375d4683f3d878fb0a18ea6e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Luiz=20Lorencetti?= Date: Sun, 12 Feb 2017 12:06:33 -0200 Subject: [PATCH] Changes the title of the page in the pet detail view --- pets/meupet/templates/meupet/pet_detail.html | 1 + pets/templates/_layouts/base.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pets/meupet/templates/meupet/pet_detail.html b/pets/meupet/templates/meupet/pet_detail.html index 736df52..39ffe1b 100644 --- a/pets/meupet/templates/meupet/pet_detail.html +++ b/pets/meupet/templates/meupet/pet_detail.html @@ -17,6 +17,7 @@ {% endblock %} {% block title %}{{ pet.name }} - {{ pet.get_status_display }}{% endblock %} +{% block page_title %}{{ pet.get_status_display }}: {{ pet.name|title }}, {{ pet.city|title }}{% endblock %} {% block content %}