Fix & cleanup page titles
This commit is contained in:
parent
48ea35562e
commit
8b1cd8130e
|
@ -2,7 +2,7 @@
|
||||||
{% import 'macros/base.twig' as m %}
|
{% import 'macros/base.twig' as m %}
|
||||||
{% import 'macros/form.twig' as f %}
|
{% import 'macros/form.twig' as f %}
|
||||||
|
|
||||||
{% set title %}{% block title %}{{ __('log.log') }}{% endblock %}{% endset %}
|
{% block title %}{{ __('log.log') }}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
{% import 'macros/base.twig' as m %}
|
{% import 'macros/base.twig' as m %}
|
||||||
{% import 'macros/form.twig' as f %}
|
{% import 'macros/form.twig' as f %}
|
||||||
|
|
||||||
{% set title %}{% block title %}{{ __('schedule.import.title') }}{% endblock %}{% endset %}
|
{% block title %}{{ __('schedule.import.title') }}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h1>
|
<h1>
|
||||||
{% block content_title %}{{ title }}{% endblock %}
|
{% block content_title %}{{ block('title') }}{% endblock %}
|
||||||
|
|
||||||
{% if is_index|default(false) %}
|
{% if is_index|default(false) %}
|
||||||
{{ m.button(m.icon('plus-lg'), url('/admin/schedule/edit'), 'secondary') }}
|
{{ m.button(m.icon('plus-lg'), url('/admin/schedule/edit'), 'secondary') }}
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
{% import 'macros/base.twig' as m %}
|
{% import 'macros/base.twig' as m %}
|
||||||
{% import 'macros/form.twig' as f %}
|
{% import 'macros/form.twig' as f %}
|
||||||
|
|
||||||
{% set title %}{% block title %}{{ __('shifts.history') }}{% endblock %}{% endset %}
|
{% block title %}{{ __('shifts.history') }}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h1>
|
<h1>
|
||||||
{{ m.button(m.icon('chevron-left'), url('/admin-shifts'), null, 'sm') }}
|
{{ m.button(m.icon('chevron-left'), url('/admin-shifts'), null, 'sm') }}
|
||||||
{% block content_title %}{{ title }}{% endblock %}
|
{% block content_title %}{{ block('title') }}{% endblock %}
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
{% include 'layouts/parts/messages.twig' %}
|
{% include 'layouts/parts/messages.twig' %}
|
||||||
|
|
|
@ -2,9 +2,7 @@
|
||||||
{% import 'macros/base.twig' as m %}
|
{% import 'macros/base.twig' as m %}
|
||||||
{% import 'macros/form.twig' as f %}
|
{% import 'macros/form.twig' as f %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title %}{{ __('faq.faq') }}{% endblock %}
|
||||||
{{ __('faq.faq') }}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
|
@ -2,10 +2,7 @@
|
||||||
{% import 'macros/base.twig' as m %}
|
{% import 'macros/base.twig' as m %}
|
||||||
{% import 'macros/form.twig' as f %}
|
{% import 'macros/form.twig' as f %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title %}{% if news.is_meeting %}{{ __('news.is_meeting') }} {% endif %}{{ news.title }}{% endblock %}
|
||||||
{{ m.button(m.icon('chevron-left'), url('/news'), null, 'sm') }}
|
|
||||||
{% if news.is_meeting %}{{ __('news.is_meeting') }} {% endif %}{{ news.title }}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block news %}
|
{% block news %}
|
||||||
{{ _self.news(news) }}
|
{{ _self.news(news) }}
|
||||||
|
|
|
@ -8,6 +8,9 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h1>
|
<h1>
|
||||||
|
{% if not is_overview|default(false) %}
|
||||||
|
{{ m.button(m.icon('chevron-left'), url('/news'), null, 'sm') }}
|
||||||
|
{% endif %}
|
||||||
{{ block('title') }}
|
{{ block('title') }}
|
||||||
{%- if has_permission_to('admin_news') and is_overview|default(false) -%}
|
{%- if has_permission_to('admin_news') and is_overview|default(false) -%}
|
||||||
{{ m.button(m.icon('plus-lg'), url('/admin/news', only_meetings ? {'meeting': 1} : {}), 'secondary') }}
|
{{ m.button(m.icon('plus-lg'), url('/admin/news', only_meetings ? {'meeting': 1} : {}), 'secondary') }}
|
||||||
|
|
|
@ -2,9 +2,7 @@
|
||||||
{% import 'macros/base.twig' as m %}
|
{% import 'macros/base.twig' as m %}
|
||||||
{% import 'macros/form.twig' as f %}
|
{% import 'macros/form.twig' as f %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title %}{{ __('question.questions') }}{% endblock %}
|
||||||
{{ __('question.questions') }}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
Loading…
Reference in New Issue