diff --git a/tailbone/subscribers.py b/tailbone/subscribers.py index c0d8a9c0..da28a13a 100644 --- a/tailbone/subscribers.py +++ b/tailbone/subscribers.py @@ -34,6 +34,7 @@ from rattail.db.auth import has_permission from pyramid import threadlocal from pyramid.security import authenticated_userid +import tailbone from tailbone import helpers from tailbone.db import Session @@ -78,6 +79,7 @@ def before_render(event): renderer_globals['h'] = helpers renderer_globals['url'] = request.route_url renderer_globals['rattail'] = rattail + renderer_globals['tailbone'] = tailbone def add_inbox_count(event): diff --git a/tailbone/templates/themes/better/base.mako b/tailbone/templates/themes/better/base.mako index 57fcc3bc..411550eb 100644 --- a/tailbone/templates/themes/better/base.mako +++ b/tailbone/templates/themes/better/base.mako @@ -128,5 +128,5 @@ <%def name="header_logo()"> <%def name="footer()"> - powered by ${h.link_to("Rattail {}".format(rattail.__version__), 'https://rattailproject.org/', target='_blank')} + powered by ${h.link_to("Rattail {} / Tailbone {}".format(rattail.__version__, tailbone.__version__), 'https://rattailproject.org/', target='_blank')}