From: yomguy Date: Thu, 20 Dec 2012 15:25:18 +0000 (+0100) Subject: add index module and icons X-Git-Tag: 0.9-probarreau~224 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=1da0d264ae64aead172038991585c2ad3736c15a;p=teleforma.git add index module and icons --- diff --git a/teleforma/static/teleforma/css/teleforma.css b/teleforma/static/teleforma/css/teleforma.css index 790dd785..c7a57aaf 100644 --- a/teleforma/static/teleforma/css/teleforma.css +++ b/teleforma/static/teleforma/css/teleforma.css @@ -1813,3 +1813,17 @@ form .exceed{ padding-left: 0; font-weight: none; } + +#index { + background-color: white; + -moz-border-radius: 8px 0px 8px 8px; + -webkit-border-radius: 8px 0px 8px 8px; + border-radius: 8px 0px 8px 8px; + color: black; + padding: 0.5em; +} + + +#index p, ul { + margin: 0.5em; +} \ No newline at end of file diff --git a/teleforma/templates/teleforma/inc/testimonial_list.html b/teleforma/templates/teleforma/inc/testimonial_list.html index e5ccb490..759da97c 100644 --- a/teleforma/templates/teleforma/inc/testimonial_list.html +++ b/teleforma/templates/teleforma/inc/testimonial_list.html @@ -11,7 +11,7 @@ - {% trans "Testimonial" %} : {{ seminar.title }}{% if seminar.rank %} n°{{seminar.rank}}{% endif %} + {% trans "Testimonial" %} : {{ seminar.title }}{% if seminar.rank %} n°{{seminar.rank}}{% endif %} diff --git a/teleforma/templates/teleforma/seminar_detail.html b/teleforma/templates/teleforma/seminar_detail.html index 2a8841f9..d759ab3b 100644 --- a/teleforma/templates/teleforma/seminar_detail.html +++ b/teleforma/templates/teleforma/seminar_detail.html @@ -57,9 +57,10 @@ $(function() {
{% trans "level" %}
{{ seminar.level }}
{% trans "public concerned" %}
{{ seminar.concerned }}
{% trans "duration" %}
{{ seminar.duration }}
- {% if seminar.description %} + {% if messages %} @@ -172,3 +173,14 @@ $(function() { {% endblock progress %} + +{% block index %} +{% if seminar.index %} +
+

status {% trans "Index" %}

+
+ {{ seminar.index|safe }} +
+
+{% endif %} +{% endblock index %} diff --git a/teleforma/templates/teleforma/seminars.html b/teleforma/templates/teleforma/seminars.html index b7195fa8..d238f5b8 100644 --- a/teleforma/templates/teleforma/seminars.html +++ b/teleforma/templates/teleforma/seminars.html @@ -140,6 +140,9 @@ server_status_callback(); {% endif %} {% endblock status %} +{% block index %} +{% endblock index %} + {% endblock content %}