~homeworkprod/byceps

1d397823dcbc2f22b113e882cca093665c717ac2 — Jochen Kupperschmidt a month ago 634b026
Remove orgas/birthdays admin tab bar
M byceps/blueprints/admin/orga/templates/admin/orga/birthdays.html => byceps/blueprints/admin/orga/templates/admin/orga/birthdays.html +1 -2
@@ 1,10 1,9 @@
{% extends 'layout/admin/orga.html' %}
{% extends 'layout/admin/base.html' %}
{% from 'macros/admin/orga.html' import render_random_age_adjective, render_relative_days_until, render_time_element %}
{% from 'macros/admin/user.html' import render_user_avatar_20_and_admin_link %}
{% from 'macros/datetime.html' import render_date %}
{% from 'macros/icons.html' import render_icon %}
{% set current_page = 'orga_admin.birthdays' %}
{% set current_tab = 'birthdays' %}
{% set title = 'Die nächsten Geburtstage' %}

{% block head %}

M byceps/blueprints/admin/orga/templates/admin/orga/create_orgaflag_form.html => byceps/blueprints/admin/orga/templates/admin/orga/create_orgaflag_form.html +1 -2
@@ 1,9 1,8 @@
{% extends 'layout/admin/orga.html' %}
{% extends 'layout/admin/base.html' %}
{% from 'macros/forms.html' import form_buttons, form_field, form_fieldset %}
{% from 'macros/icons.html' import render_icon %}
{% set current_page = 'orga_admin' %}
{% set current_page_brand = brand %}
{% set current_tab = 'persons' %}
{% set title = 'Person zum Orga ernennen' %}

{% block body %}

M byceps/blueprints/admin/orga/templates/admin/orga/persons.html => byceps/blueprints/admin/orga/templates/admin/orga/persons.html +1 -2
@@ 1,7 1,6 @@
{% extends 'layout/admin/orga.html' %}
{% extends 'layout/admin/base.html' %}
{% from 'macros/admin/brand.html' import render_brand_avatar %}
{% set current_page = 'orga_admin.persons' %}
{% set current_tab = 'persons' %}
{% set title = 'Organisatoren' %}

{% block body %}

M byceps/blueprints/admin/orga/templates/admin/orga/persons_for_brand.html => byceps/blueprints/admin/orga/templates/admin/orga/persons_for_brand.html +1 -2
@@ 1,4 1,4 @@
{% extends 'layout/admin/orga.html' %}
{% extends 'layout/admin/base.html' %}
{% from 'macros/admin.html' import render_extra_in_heading %}
{% from 'macros/admin/user.html' import render_user_admin_link %}
{% from 'macros/datetime.html' import render_date %}


@@ 6,7 6,6 @@
{% from 'macros/user_avatar.html' import render_user_avatar_48 %}
{% set current_page = 'orga_admin' %}
{% set current_page_brand = brand %}
{% set current_tab = 'persons' %}
{% set title = 'Organisatoren' %}

{% block head %}

D byceps/blueprints/admin/orga/templates/layout/admin/orga.html => byceps/blueprints/admin/orga/templates/layout/admin/orga.html +0 -25
@@ 1,25 0,0 @@
{% extends 'layout/admin/base.html' %}
{% from 'macros/admin.html' import render_main_tabs %}

{% block before_body %}
  {%- with party = current_page_party %}
{{
  render_main_tabs(
    Navigation(None)
      .add_item(
        url_for('.persons'),
        'Personen',
        id='persons',
        required_permission=OrgaDetailPermission.view,
        icon='users')
      .add_item(
        url_for('.birthdays'),
        'Geburtstage',
        id='birthdays',
        required_permission=OrgaBirthdayPermission.view,
        icon='birthday')
    , current_tab
  )
}}
  {%- endwith %}
{%- endblock %}