From: Guillaume Pellerin Date: Fri, 21 Oct 2016 12:51:38 +0000 (+0200) Subject: Add person links X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=d8494241f8900747b70c985f95f9577a5157a955;p=mezzo.git Add person links --- diff --git a/app/templates/core/inc/link.html b/app/templates/core/inc/link.html index 047eee10..3136fa0c 100644 --- a/app/templates/core/inc/link.html +++ b/app/templates/core/inc/link.html @@ -4,6 +4,6 @@

diff --git a/app/templates/network/person_detail.html b/app/templates/network/person_detail.html index 7f67ab4a..b95ad364 100644 --- a/app/templates/network/person_detail.html +++ b/app/templates/network/person_detail.html @@ -43,3 +43,11 @@ {% endwith %} {% endif%} {% endblock %} + +{% block page_link %} + {% with person.links.all as links %} + {% if links %} + {% include 'core/inc/link.html' %} + {% endif %} + {% endwith %} +{% endblock %}