X-Git-Url: https://git.toastfreeware.priv.at/philipp/winterrodeln/wradmin.git/blobdiff_plain/5102bd55ce1898abf690f61c5e23f3c62b0714d5..93a904e7a667198c940a580017cd94a8c0d80b0f:/wradmin/template_helper.py diff --git a/wradmin/template_helper.py b/wradmin/template_helper.py index 446c315..a35b234 100644 --- a/wradmin/template_helper.py +++ b/wradmin/template_helper.py @@ -16,17 +16,17 @@ class PylonsHelper: """Creates a link to the specified page in the www.winterrodeln.org wiki""" if page_title is None: page_title = 'Hauptseite' - return 'http://www.winterrodeln.org/wiki/' + page_title + return 'https://www.winterrodeln.org/wiki/' + page_title def forum(self, forum=None): """Creates a link to the specified forum. If no id is given, a general link is created.""" if forum is None: return 'http://winterrodeln-forum.org/' - return 'http://winterrodeln-forum.org/viewforum.php?f={}'.format(forum) + return 'https://winterrodeln-forum.org/viewforum.php?f={}'.format(forum) def google_maps(self, latitude, longitude): """Builds an URL like http://maps.google.at/maps?q=47.200607,11.260007""" - return "http://maps.google.at/maps?q=%.6f,%.6f" % (latitude, longitude) + return "https://maps.google.at/maps?q=%.6f,%.6f" % (latitude, longitude) def bool(self, value): """Takes a bool value and creates a German representation"""