aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAlban Gruin2019-01-04 13:34:27 +0100
committerAlban Gruin2019-01-04 13:34:27 +0100
commit0001f374946a8778b0b5fad4c5baee091d328a9f (patch)
tree8da00b2dbf0c6b7e6bf65c0abfee7da8ff011c4b /templates
parent38747ef8895f86a6843a80bc3276b5251703074d (diff)
parent350b28338174656fc5e552bab5f2b51be5fc9d00 (diff)
Merge branch 'ag/pa1ch/nique-toi-google' into prod/pa1ch/0.14.zv0.14.4-pa1ch
Diffstat (limited to 'templates')
-rw-r--r--templates/calendars.html6
-rw-r--r--templates/flatpages/guide.html11
2 files changed, 14 insertions, 3 deletions
diff --git a/templates/calendars.html b/templates/calendars.html
index 98c57e2..7ae51a5 100644
--- a/templates/calendars.html
+++ b/templates/calendars.html
@@ -13,14 +13,14 @@
d’utiliser ces fichiers :
<ul>
<li>Sur Linux et Windows, l’extension Lightning du logiciel
- Thunderbird ;</li>
+ Thunderbird (<a href="{% url "django.contrib.flatpages.views.flatpage" url="guides/thunderbird/" %}">guide</a>) ;</li>
<li>Sur Mac et iOS, iCloud ;</li>
<li>Sur Android, l’application libre ICSDroid peut les
récupérer périodiquement et les afficher sur l’application
Agenda de base.
<a href="https://f-droid.org/fr/packages/at.bitfire.icsdroid/">Elle
- est gratuite sur F-Droid</a> ;</li>
- <li>Sur Web, NextCloud.</li>
+ est gratuite sur F-Droid</a> (<a href="{% url "django.contrib.flatpages.views.flatpage" url="guides/icsdroid/" %}">guide</a>) ;</li>
+ <li>Sur Web, NextCloud (<a href="{% url "django.contrib.flatpages.views.flatpage" url="guides/nextcloud/" %}">guide</a>).</li>
</ul>
<p>
<b>N’utilisez pas Google Calendar pour synchroniser un
diff --git a/templates/flatpages/guide.html b/templates/flatpages/guide.html
new file mode 100644
index 0000000..e803f57
--- /dev/null
+++ b/templates/flatpages/guide.html
@@ -0,0 +1,11 @@
+{% extends "flatpages/default.html" %}
+
+{% block head %}
+ <style>
+img {
+ display: block;
+ max-width: 100%;
+ margin: 0 auto;
+}
+ </style>
+{% endblock %}