diff --git a/suma_browser/templates/_types/calendar/_nav.html b/suma_browser/templates/_types/calendar/_nav.html index fc7d0b6..cd972d2 100644 --- a/suma_browser/templates/_types/calendar/_nav.html +++ b/suma_browser/templates/_types/calendar/_nav.html @@ -1,17 +1,12 @@ {% import 'macros/links.html' as links %} -{% call links.link( - url_for('blog.post.calendars.calendar.slots.get', slug=post.slug, calendar_slug=calendar.slug), - hx_select_search, - select_colours, - aclass=styles.nav_button -) %} + - - Slots - -{% endcall %} + Slots + {% if g.rights.admin %} {% from 'macros/admin_nav.html' import admin_nav_item %} - {{admin_nav_item(url_for('blog.post.calendars.calendar.admin.admin', slug=post.slug, calendar_slug=calendar.slug))}} + + + {% endif %} \ No newline at end of file diff --git a/suma_browser/templates/_types/calendar/header/_header.html b/suma_browser/templates/_types/calendar/header/_header.html index f62b039..73fe115 100644 --- a/suma_browser/templates/_types/calendar/header/_header.html +++ b/suma_browser/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) %} - {% call links.link(url_for('blog.post.calendars.calendar.get', slug=post.slug, calendar_slug= calendar.slug), hx_select_search) %} + @@ -12,7 +12,7 @@ {% from '_types/calendar/_description.html' import description %} {{description(calendar)}} - {% endcall %} + {% call links.desktop_nav() %} {% include '_types/calendar/_nav.html' %} {% endcall %}