From 0a16cc2ded0e98aaf79d7c8082f268f02a036ed1 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 13 Feb 2018 00:10:32 -0600 Subject: [PATCH] Add tailbone version to base stylesheet URLs hopefully this forces clients to refresh after upgrade? --- tailbone/templates/base.mako | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tailbone/templates/base.mako b/tailbone/templates/base.mako index 6a5ed524..cf348b3f 100644 --- a/tailbone/templates/base.mako +++ b/tailbone/templates/base.mako @@ -167,13 +167,13 @@ ${h.stylesheet_link(request.static_url('tailbone:static/css/jquery.ui.menubar.css'))} ${h.stylesheet_link(request.static_url('tailbone:static/css/jquery.loadmask.css'))} ${h.stylesheet_link(request.static_url('tailbone:static/css/jquery.ui.timepicker.css'))} - ${h.stylesheet_link(request.static_url('tailbone:static/css/jquery.ui.tailbone.css'))} - ${h.stylesheet_link(request.static_url('tailbone:static/css/base.css'))} - ${h.stylesheet_link(request.static_url('tailbone:static/css/layout.css'))} - ${h.stylesheet_link(request.static_url('tailbone:static/css/grids.css'))} - ${h.stylesheet_link(request.static_url('tailbone:static/css/filters.css'))} - ${h.stylesheet_link(request.static_url('tailbone:static/css/forms.css'))} - ${h.stylesheet_link(request.static_url('tailbone:static/css/diffs.css'))} + ${h.stylesheet_link(request.static_url('tailbone:static/css/jquery.ui.tailbone.css') + '?ver={}'.format(tailbone.__version__))} + ${h.stylesheet_link(request.static_url('tailbone:static/css/base.css') + '?ver={}'.format(tailbone.__version__))} + ${h.stylesheet_link(request.static_url('tailbone:static/css/layout.css') + '?ver={}'.format(tailbone.__version__))} + ${h.stylesheet_link(request.static_url('tailbone:static/css/grids.css') + '?ver={}'.format(tailbone.__version__))} + ${h.stylesheet_link(request.static_url('tailbone:static/css/filters.css') + '?ver={}'.format(tailbone.__version__))} + ${h.stylesheet_link(request.static_url('tailbone:static/css/forms.css') + '?ver={}'.format(tailbone.__version__))} + ${h.stylesheet_link(request.static_url('tailbone:static/css/diffs.css') + '?ver={}'.format(tailbone.__version__))} <%def name="jquery_theme()">