From a995ce28877b5227f4554b0173657a4712a9bb9e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Je=CC=81re=CC=81my=20Fabre?= Date: Wed, 21 Sep 2016 17:50:11 +0200 Subject: [PATCH] Well... Display the description on the person block, and, display the bio if the description is not available --- app/templates/network/inc/person/list_circle_style.html | 6 +++--- app/templates/network/inc/person/list_square_style.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/templates/network/inc/person/list_circle_style.html b/app/templates/network/inc/person/list_circle_style.html index ee65dd92..24fa4cc4 100644 --- a/app/templates/network/inc/person/list_circle_style.html +++ b/app/templates/network/inc/person/list_circle_style.html @@ -54,10 +54,10 @@

{{ person }}

- {% if person.bio %} -
{{ person.bio|richtext_filters|safe|truncatechars_html:255 }}
- {% elif person.description %} + {% if person.description %}
{{ person.description|richtext_filters|safe|truncatechars_html:255 }}
+ {% elif person.bio %} +
{{ person.bio|richtext_filters|safe|truncatechars_html:255 }}
{% endif %} {% trans "resume" %} diff --git a/app/templates/network/inc/person/list_square_style.html b/app/templates/network/inc/person/list_square_style.html index 5dc8cf0c..363feac4 100644 --- a/app/templates/network/inc/person/list_square_style.html +++ b/app/templates/network/inc/person/list_square_style.html @@ -48,10 +48,10 @@

{{ person }}

- {% if person.bio %} -
{{ person.bio|richtext_filters|safe|truncatechars_html:255 }}
- {% elif person.description %} + {% if person.description %}
{{ person.description|richtext_filters|safe|truncatechars_html:255 }}
+ {% elif person.bio %} +
{{ person.bio|richtext_filters|safe|truncatechars_html:255 }}
{% endif %} -- 2.39.5