From d8494241f8900747b70c985f95f9577a5157a955 Mon Sep 17 00:00:00 2001
From: Guillaume Pellerin
Date: Fri, 21 Oct 2016 14:51:38 +0200
Subject: [PATCH] Add person links
---
app/templates/core/inc/link.html | 2 +-
app/templates/network/person_detail.html | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletion(-)
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 %}
--
2.39.5