diff options
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(): |