-
Notifications
You must be signed in to change notification settings - Fork 2k
/
edit_base.html
28 lines (22 loc) · 1.24 KB
/
edit_base.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{% extends "page.html" %}
{% block subtitle %}
{{ _('Manage') }} - {{ h.get_translated(c.group_dict, 'title') or c.group_dict.display_name }} - {{ _('Groups') }}
{% endblock %}
{% set group = c.group_dict %}
{% block breadcrumb_content %}
<li>{% link_for _('Groups'), controller='group', action='index', named_route=group_type + '_index' %}</li>
{% block breadcrumb_content_inner %}
<li>{% link_for h.get_translated(group, 'title') or group.display_name |truncate(35), controller='group', action='read', id=group.name, named_route=group_type + '_read' %}</li>
<li class="active">{% link_for _('Manage'), controller='group', action='edit', id=group.name, named_route=group_type + '_edit' %}</li>
{% endblock %}
{% endblock %}
{% block content_action %}
{% link_for _('View'), controller='group', action='read', id=c.group_dict.name, class_='btn', icon='eye', named_route=group_type + '_read' %}
{% endblock %}
{% block content_primary_nav %}
{{ h.build_nav_icon(group_type + '_edit', _('Edit'), id=c.group_dict.name) }}
{{ h.build_nav_icon(group_type + '_members', _('Members'), id=c.group_dict.name) }}
{% endblock %}
{% block secondary_content %}
{% snippet "group/snippets/info.html", group=c.group_dict, show_nums=false %}
{% endblock %}