aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlban Gruin2019-09-01 21:08:27 +0200
committerAlban Gruin2019-09-01 21:08:27 +0200
commitf2b26c79e1f3bf524a750214bffcee6351f14906 (patch)
treea96056c7bd7e82460cc97c7f3dbbc31ccd5c2e65
parent8b413293eecfe3a799a5bae6655a4d89c639526a (diff)
parent350b28338174656fc5e552bab5f2b51be5fc9d00 (diff)
Merge branch 'ag/pa1ch/nique-toi-google' into pa1chv0.15.0-pa1chpa1ch
-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 95cda8f..e0b3cc3 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 ICSx<sup>5</sup> 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 %}