diff --git a/tailbone/templates/themes/falafel/base.mako b/tailbone/templates/themes/falafel/base.mako index 5ab12a03..94e20f3e 100644 --- a/tailbone/templates/themes/falafel/base.mako +++ b/tailbone/templates/themes/falafel/base.mako @@ -236,34 +236,7 @@ % endfor - + ${self.render_navbar_end()} @@ -552,6 +525,38 @@ ${tailbone_autocomplete_template()} +<%def name="render_navbar_end()"> + + + +<%def name="render_user_menu()"> + % if request.user: + + % else: + ${h.link_to("Login", url('login'), class_='navbar-item')} + % endif + + <%def name="render_instance_header_buttons()"> ${self.render_crud_header_buttons()} ${self.render_prevnext_header_buttons()} @@ -665,6 +670,7 @@ let WholePage = { template: '#whole-page-template', + computed: {}, methods: { changeContentTitle(newTitle) {