diff --git a/templates/_types/calendar/_nav.html b/templates/_types/calendar/_nav.html index 3c1404a..d3ef2cd 100644 --- a/templates/_types/calendar/_nav.html +++ b/templates/_types/calendar/_nav.html @@ -1,8 +1,10 @@ {% import 'macros/links.html' as links %} {% call links.link( + url_for('calendars.calendar.slots.get', calendar_slug=calendar.slug), hx_select_search, select_colours, + True, aclass=styles.nav_button ) %} @@ -12,4 +14,5 @@ {% endcall %} {% if g.rights.admin %} {% from 'macros/admin_nav.html' import admin_nav_item %} + {{ admin_nav_item(url_for('calendars.calendar.admin.admin', calendar_slug=calendar.slug)) }} {% endif %} \ No newline at end of file diff --git a/templates/_types/calendar/header/_header.html b/templates/_types/calendar/header/_header.html index a431382..9298a6a 100644 --- a/templates/_types/calendar/header/_header.html +++ b/templates/_types/calendar/header/_header.html @@ -1,7 +1,7 @@ {% import 'macros/links.html' as links %} {% macro header_row(oob=False) %} {% call links.menu_row(id='calendar-row', oob=oob) %} -
+
diff --git a/templates/_types/post/_nav.html b/templates/_types/post/_nav.html index fe1f60e..9bcdf07 100644 --- a/templates/_types/post/_nav.html +++ b/templates/_types/post/_nav.html @@ -7,3 +7,8 @@ {% endcall %} {% endfor %} {% endif %} +{% if g.rights.admin %} + + + +{% endif %}