From: Michael Tremer Date: Thu, 11 Oct 2018 11:39:34 +0000 (+0100) Subject: talk: Properly size all icons X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=76d3ab8c84d276df5faab38cc0e22b9e071ab98b;p=ipfire.org.git talk: Properly size all icons Signed-off-by: Michael Tremer --- diff --git a/src/backend/accounts.py b/src/backend/accounts.py index 1e2f629b..4d217123 100644 --- a/src/backend/accounts.py +++ b/src/backend/accounts.py @@ -327,11 +327,11 @@ class Account(Object): def avatar_url(self, size=None): if self.backend.debug: - hostname = "accounts.dev.ipfire.org" + hostname = "http://accounts.dev.ipfire.org" else: - hostname = "accounts.ipfire.org" + hostname = "https://accounts.ipfire.org" - url = "https://%s/avatar/%s.jpg" % (hostname, self.uid) + url = "%s/avatar/%s.jpg" % (hostname, self.uid) if size: url += "?size=%s" % size diff --git a/src/templates/talk/modules/accounts-list.html b/src/templates/talk/modules/accounts-list.html index 84c34f12..0c8fe035 100644 --- a/src/templates/talk/modules/accounts-list.html +++ b/src/templates/talk/modules/accounts-list.html @@ -5,7 +5,7 @@