From c3573867d0fb9d0d2261c4249d09bab5f84202f1 Mon Sep 17 00:00:00 2001 From: bkfox Date: Fri, 31 Mar 2017 18:27:30 +0200 Subject: [PATCH] small fixes in templates --- aircox_cms/locale/fr/LC_MESSAGES/django.mo | Bin 17221 -> 17717 bytes aircox_cms/locale/fr/LC_MESSAGES/django.po | 45 ++++++++---------- .../templates/aircox_cms/program_page.html | 2 +- .../templates/aircox_cms/publication.html | 4 +- .../sections/section_publication_info.html | 4 ++ 5 files changed, 27 insertions(+), 28 deletions(-) diff --git a/aircox_cms/locale/fr/LC_MESSAGES/django.mo b/aircox_cms/locale/fr/LC_MESSAGES/django.mo index a0fb2d1e4ccc62be43dd078fdf8ad5b13dc1320c..9b4b324dd89f885e1a8f6050bc39a2976c88f455 100644 GIT binary patch delta 5082 zcmb8xd303O0mtzh5<)_NEQFA-ga;Cm01^VSV}k5ErMOgChslHtgh|NElubK|EP^bN zutN(JkgY6bKpIvdpi;md@YfM6tF~cwsb8$Sz;0mmV>o6I2AeWkB7>j3Y zFQU%Bj=JS1SO@Q7lraJG4TXm6c!2yf^{MCv7S_eKn223a#|NQq@Det`$v6dH!8v#v zYvUw(MFXY~)$lab{bpkZ&c}MRZ}w2o1xHamJ!$)%y}ue8vHv=%BcI#*AEG)E$w6Hg zhdM8rKXKR=8)H{&iz873n~iGkbxfpvvzUTzu+erq>coAhDLsnq@D#@5zfm*s9X7@K zDdC2*k-?jM)T11O{4=HeQG<(6_gjYQ_$mx&iZ)Sbfm_kSGpG*SLN#<3b>WYw4n#97 zHJpNdu@mZgKR%7CQ6s*FZSV)%j8tRNsSiiZW_wW$SE4%l zE~@9}Q6su+dkwEp{|oB8J!#>^c>wdNpFj=hd(?H&EF85{uL<+79yMc!8tjE?Ud-mN!wbk$Gcin`I+PxupsC8jfj9=A z!VNe8tI>gtc%WTyCU(Mo*a82J6&T;#nC`d@b^K%0@pwk3dLF97GcXHhqB<7XLP0&< zVedGIdasY5X5_4W{EF>IsF8k#dH5Ah!dw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mnH(cOC2tUwfJ5lr@FevuB!-M8eTF-s(W2t4}vi^1Q0K zl}qL>n$4czL$0PS0dL~aU|nK#c<@@keG$POo)0>PXN(?|9$fAX5A%AGt82=uYP{9% xiY3*RO9nUXa(j~JE}G-5PNDMu*E;6A9T{jz&j?N#bv8U$GP%(terms)s" msgstr "Chercher %(terms)s dans les publications" #: templates/aircox_cms/dynamic_list_page.html:19 +#, python-format msgid "Related to %(title)s" msgstr "Relatif à %(title)s" @@ -845,8 +837,9 @@ msgid "Schedule" msgstr "Horaire" #: templates/aircox_cms/program_page.html:18 -msgid "%(day)s %(start)s until %(end)s, %(frequency)s" -msgstr "%(day)s %(start)s jusqu'à %(end)s, %(frequency)s" +msgid "" +"%(day)s at %(start)s until %(end)s, %(frequency)s" +msgstr "%(day)s de %(start)s à %(end)s, %(frequency)s" #: templates/aircox_cms/program_page.html:24 msgid "Rerun" @@ -860,33 +853,33 @@ msgstr "Ce programme n'est plus actif" msgid "Go back to the publication" msgstr "Retourner à la publication" -#: templates/aircox_cms/sections/section_publication_info.html:12 -#: templates/aircox_cms/sections/section_publication_info.html:13 +#: templates/aircox_cms/sections/section_publication_info.html:14 +#: templates/aircox_cms/sections/section_publication_info.html:15 msgid "Parent pages" msgstr "Pages parentes" -#: templates/aircox_cms/sections/section_publication_info.html:27 -#: templates/aircox_cms/sections/section_publication_info.html:28 +#: templates/aircox_cms/sections/section_publication_info.html:31 +#: templates/aircox_cms/sections/section_publication_info.html:32 msgid "Tags" msgstr "Tags" -#: templates/aircox_cms/sections/section_publication_info.html:45 -#: templates/aircox_cms/sections/section_publication_info.html:46 +#: templates/aircox_cms/sections/section_publication_info.html:49 +#: templates/aircox_cms/sections/section_publication_info.html:50 msgid "Author" msgstr "Auteur" -#: templates/aircox_cms/sections/section_publication_info.html:48 +#: templates/aircox_cms/sections/section_publication_info.html:52 #, python-format msgid "Published by %(author)s" msgstr "Publié par %(author)s" -#: templates/aircox_cms/sections/section_publication_info.html:58 -#: templates/aircox_cms/sections/section_publication_info.html:59 +#: templates/aircox_cms/sections/section_publication_info.html:62 +#: templates/aircox_cms/sections/section_publication_info.html:63 msgid "Date of publication" msgstr "Date de publication" -#: templates/aircox_cms/sections/section_publication_info.html:68 -#: templates/aircox_cms/sections/section_publication_info.html:69 +#: templates/aircox_cms/sections/section_publication_info.html:72 +#: templates/aircox_cms/sections/section_publication_info.html:73 msgid "Share" msgstr "Partager" diff --git a/aircox_cms/templates/aircox_cms/program_page.html b/aircox_cms/templates/aircox_cms/program_page.html index faed6b5..9eb5af5 100755 --- a/aircox_cms/templates/aircox_cms/program_page.html +++ b/aircox_cms/templates/aircox_cms/program_page.html @@ -16,7 +16,7 @@ {% with frequency=schedule.get_frequency_display day=schedule.date|date:'l' %} {% with start=schedule.date|date:"H:i" end=schedule.end|date:"H:i" %} {% blocktrans trimmed %} - {{ day }} {{ start }} until {{ end }}, {{ frequency }} + {{ day }} at {{ start }} until {{ end }}, {{ frequency }} {% endblocktrans %} {% endwith %} {% endwith %} diff --git a/aircox_cms/templates/aircox_cms/publication.html b/aircox_cms/templates/aircox_cms/publication.html index caa1c11..cbfae93 100755 --- a/aircox_cms/templates/aircox_cms/publication.html +++ b/aircox_cms/templates/aircox_cms/publication.html @@ -41,11 +41,13 @@ {% else %} {# detail view #}
+ {% if page.body %}
{{ page.body|richtext}}
+ {% endif %} - {% if page.links %} + {% if page.links.count %} {% include "aircox_cms/sections/section_link_list.html" %} {% endif %} diff --git a/aircox_cms/templates/aircox_cms/sections/section_publication_info.html b/aircox_cms/templates/aircox_cms/sections/section_publication_info.html index 3fd5b21..fac8a85 100755 --- a/aircox_cms/templates/aircox_cms/sections/section_publication_info.html +++ b/aircox_cms/templates/aircox_cms/sections/section_publication_info.html @@ -7,6 +7,8 @@ {% block content %} {% spaceless %}
+ {% with ancestors=page.get_ancestors %} + {% if ancestors|length != 1 %}