diff options
author | Étienne Loks <etienne@peacefrogs.net> | 2020-09-29 12:47:12 +0200 |
---|---|---|
committer | Étienne Loks <etienne@peacefrogs.net> | 2020-09-29 12:47:12 +0200 |
commit | 4ff647569a7119a77b7c4a54c19400c9eb023a35 (patch) | |
tree | 5553cc8b99f765e6b7a07ee430372a27501afec2 /settings.py | |
parent | a7a3f11ac4df6d356333b35cc37db566db3cff78 (diff) | |
download | Chimère-4ff647569a7119a77b7c4a54c19400c9eb023a35.tar.bz2 Chimère-4ff647569a7119a77b7c4a54c19400c9eb023a35.zip |
Detail: add a link to generate iframe
Diffstat (limited to 'settings.py')
-rw-r--r-- | settings.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/settings.py b/settings.py index ebb64b6..bf7b6b0 100644 --- a/settings.py +++ b/settings.py @@ -345,12 +345,15 @@ if 'CHIMERE_SHARE_NETWORKS' not in globals(): # share with global CHIMERE_SHARE_NETWORKS CHIMERE_SHARE_NETWORKS = ( + # name, link, icon, JS (on click) ("Email", 'mailto:?subject=%(text)s&body=%(url)s', - "fa-envelope"), + "fa-envelope", ''), ("Facebook", 'http://www.facebook.com/sharer.php?t=%(text)s&u=%(url)s', - "fa-facebook-official"), + "fa-facebook-official", ''), ("Twitter", 'http://twitter.com/home?status=%(text)s %(url)s', - "fa-twitter"), + "fa-twitter", ''), + ("Iframe web", '#', + "fa-clipboard", 'generate_iframe()'), ) if 'OSM_MOBILE_JS_URLS' not in globals(): |