]> git.parisson.com Git - mezzo.git/commitdiff
Add the lead organization logo to the project details
authorJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Tue, 11 Oct 2016 09:07:12 +0000 (11:07 +0200)
committerJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Tue, 11 Oct 2016 09:07:12 +0000 (11:07 +0200)
app/templates/projects/project_detail.html

index 8f849e884348928f9acd87f644db4ba9dfa267c4..f5a81066f7410c5af33adb399becfe9cde4ae7a0 100644 (file)
                     <div class="row" data-summary-content>
                         <div class="col-sm-9 col-sm-push-3 col-lg-8 col-lg-push-2">
                             <ul class="partners-list">
+                                {% if project.lead_organization %}
+                                    {% with project.lead_organization.images.all|get_type:'logo' as images %}
+                                        {% include 'core/inc/logo.html' %}
+                                    {% endwith %}
+                                {% endif %}
                                 {% for organization in project.organizations.all %}
                                     {% with organization.images.all|get_type:'logo' as images %}
                                         {% include 'core/inc/logo.html' %}