]> git.parisson.com Git - mezzo.git/commitdiff
Person list: invert lastname and firstname
authorEmilie <zawadzki@ircam.fr>
Fri, 23 Sep 2016 08:29:28 +0000 (10:29 +0200)
committerEmilie <zawadzki@ircam.fr>
Fri, 23 Sep 2016 08:29:28 +0000 (10:29 +0200)
app/templates/network/inc/person/list_circle_style.html
app/templates/network/inc/person/list_square_style.html

index 24fa4cc48a524b2f71d7e3fff6ccfb93f4acbc68..346b7be33fe6c2c2a35fbb4598bd9faa39c4d5a6 100644 (file)
@@ -36,7 +36,7 @@
 
                                     <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3 tac">
 
-                                        <a href="{{ person.get_absolute_url }}" title="{{ person }}">
+                                        <a href="{{ person.get_absolute_url }}" title="{{ person.first_name }}&nbsp;{{ person.last_name }}">
                                             <figure class="person-list-box__image">
 
                                                 {% with person.images.all|get_type:'card' as card_images %}
@@ -52,7 +52,7 @@
 
                                     <div class="col-lg-9 col-md-9 col-sm-9 col-xs-9">
 
-                                        <h3 class="mt0 fsxl">{{ person }}</h3>
+                                        <h3 class="mt0 fsxl">{{ person.first_name }}&nbsp;{{ person.last_name }}</h3>
 
                                         {% if person.description %}
                                             <div class="person-list-box__desc">{{ person.description|richtext_filters|safe|truncatechars_html:255 }}</div>
index 363feac4eb13f2f033ae0a03fea2d168b67f4d9f..47a2a45eefaff2df4be37704ba9e3b79a45ac610 100644 (file)
@@ -35,7 +35,7 @@
                                     {% with person.images.all|get_type:'card' as card_images %}
                                         {% if card_images %}
                                             <div class="article-box__header">
-                                                <a href="{{ person.get_absolute_url }}" title="{{ person }}">
+                                                <a href="{{ person.get_absolute_url }}" title="{{ person.first_name }}&nbsp;{{ person.last_name }}">
                                                     <figure class="article-box__image">
                                                         <img class="lazyload" src="{{ MEDIA_URL }}{% thumbnail card_images.first 427 500 top=0.5 %}" alt="person"/>
                                                     </figure>
@@ -46,7 +46,7 @@
 
                                     <div class="article-box__content tal">
 
-                                        <a href="{{ person.get_absolute_url }}" title="{{ person }}"><h3 class="article-box__title">{{ person }}</h3></a>
+                                        <a href="{{ person.get_absolute_url }}" title="{{ person.first_name }}&nbsp;{{ person.last_name }}"><h3 class="article-box__title">{{ person.first_name }}&nbsp;{{ person.last_name }}</h3></a>
 
                                         {% if person.description %}
                                             <div class="article-box__desc">{{ person.description|richtext_filters|safe|truncatechars_html:255 }}</div>