diff --git a/plugins/Sidebar/SidebarPlugin.py b/plugins/Sidebar/SidebarPlugin.py index 230be449..d382c020 100644 --- a/plugins/Sidebar/SidebarPlugin.py +++ b/plugins/Sidebar/SidebarPlugin.py @@ -410,29 +410,33 @@ class UiWebsocketPlugin(object): """)) donate_key = site.content_manager.contents.get("content.json", {}).get("donate", True) + site_address = self.site.address + body.append(_(u""" +
  • +
    +
    + {site_address} + """)) if donate_key == False or donate_key == "": pass elif (type(donate_key) == str or type(donate_key) == unicode) and len(donate_key) > 0: escaped_donate_key = cgi.escape(donate_key, True) body.append(_(u""" -
  • -
    -
    - {escaped_donate_key} -
    -
  • + + +
  • +
    +
    + {escaped_donate_key} """)) else: - site_address = self.site.address body.append(_(u""" -
  • -
    -
    - {site_address} - {_[Donate]} -
    -
  • + {_[Donate]} """)) + body.append(_(u""" + + + """)) def sidebarRenderOwnedCheckbox(self, body, site): if self.site.settings["own"]: