]> git.parisson.com Git - mezzo.git/commitdiff
Add links to Department, Team and Project pages
authorJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Fri, 23 Sep 2016 08:12:41 +0000 (10:12 +0200)
committerJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Fri, 23 Sep 2016 08:12:41 +0000 (10:12 +0200)
app/templates/pages/departmentpage.html
app/templates/pages/teampage.html
app/templates/projects/project_detail.html

index 541f73d06335f7fca428b630ed2c492e2fdddd50..343de4f4a9e1aad96f90574d6ab098a0ecf0a6db 100644 (file)
 
 {% endblock %}
 
+{% block page_link %}
+    {% with page.departmentpage.links.all as links %}
+        {% if links %}
+            {% include 'core/inc/link.html' %}
+        {% endif %}
+    {% endwith %}
+{% endblock %}
+
 {% block page_audio %}
   {% with page.departmentpage.audios.all as audios %}
     {% if audios %}
index c9f5dc1abe73f3316093136e1d5232c5fea27d05..122e5c603737c29345fb98cda0a56b48d2e80f5f 100644 (file)
 
 {% endblock %}
 
+{% block page_link %}
+    {% with page.teampage.links.all as links %}
+        {% if links %}
+            {% include 'core/inc/link.html' %}
+        {% endif %}
+    {% endwith %}
+{% endblock %}
+
 {% block page_audio %}
   {% with page.teampage.audios.all as audios %}
     {% if audios %}
index 422fec1d2cfc728d5cc5b3ec09c5b1be92334229..093f400244168290f0fbc6ad6ea2dddf39af6691 100644 (file)
 
 {% endblock %}
 
+{% block page_link %}
+    {% with project.links.all as links %}
+        {% if links %}
+            {% include 'core/inc/link.html' %}
+        {% endif %}
+    {% endwith %}
+{% endblock %}
+
 {% block page_audio %}
     {% with project.audios.all as audios %}
         {% if audios %}
             <div class="container">
                 <div class="row" data-summary-content>
                     <div class="col-sm-9 col-sm-push-3 col-lg-8 col-lg-push-2">
-                        {% trans "Partners" %}
+                        <h2 class="dotted">{% trans "Partners" %}</h2>
                         <ul class="partners-list">
                             {% for organization in project.organizations.all %}
                                 {% with organization.images.all|get_type:'logo' as images %}