From 7a395ee80825d9493b66b0c428350569632ba184 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 7 Nov 2016 19:10:43 +0100 Subject: [PATCH] Add yellow bg to team, fix tinymce in dev mode --- app/local_settings.py | 5 +---- app/templates/pages/page.html | 4 ++-- app/templates/pages/teampage.html | 14 +++++++------- 3 files changed, 10 insertions(+), 13 deletions(-) diff --git a/app/local_settings.py b/app/local_settings.py index a4b541b8..e7aad2d4 100644 --- a/app/local_settings.py +++ b/app/local_settings.py @@ -181,10 +181,7 @@ EVENT_PASS_URL = EVENT_DOMAIN+"/pub.php/pass/" EVENT_CONFIRMATION_URL = EVENT_DOMAIN+"/pub.php/cart/done?transaction_id=%s" EVENT_EXCLUDE_TAG_LIST = ['tournees', ] -if DEBUG: - TINYMCE_SETUP_JS = "/srv/app/organization/core/static/js/tinymce_setup.js" -else: - TINYMCE_SETUP_JS = "/static/js/tinymce_setup.js" +TINYMCE_SETUP_JS = "/static/js/tinymce_setup.js" SLUGIFY = 'django.template.defaultfilters.slugify' diff --git a/app/templates/pages/page.html b/app/templates/pages/page.html index d364e256..3f59429e 100644 --- a/app/templates/pages/page.html +++ b/app/templates/pages/page.html @@ -130,10 +130,10 @@ {% endif %} {% endblock %} - {% block page_sub_content_2 %} + {% block page_person_list_team %} {% endblock %} - {% block page_person_list_team %} + {% block page_sub_content_2 %} {% endblock %} {% block logo %} diff --git a/app/templates/pages/teampage.html b/app/templates/pages/teampage.html index ce0894e1..b077918d 100644 --- a/app/templates/pages/teampage.html +++ b/app/templates/pages/teampage.html @@ -74,19 +74,19 @@ {% endwith %} {% endblock %} -{% block page_person_list_team %} +{% block page_person_list %} {% activity_statuses as statuses %} {% if statuses|length > 0 %} -
-
+
+ {#
#}
-
-

{% trans 'Team' %}

+
+

{% trans 'Team' %}


{% for status in statuses %} {% with page.teampage.team|get_team_persons:status as persons %} {% if persons %} - {{ status.name }} : + {{ status.name }} : {% for person in persons %} {{ person.title }}{% if not forloop.last %}, {% endif %} {% endfor %} @@ -105,7 +105,7 @@ {% block related_project %} {% if page.teampage.team.leader_projects.published or page.teampage.team.partner_projects.published %}
-
+ {#
#}
{% with page.teampage.team.partner_projects.published|get_type:"internal" as projects %} {% if projects %} -- 2.39.5