-
Notifications
You must be signed in to change notification settings - Fork 2k
/
edit_base.html
26 lines (20 loc) · 1.01 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
{% extends "page.html" %}
{% block subtitle %}{{ _('Manage') }} - {{ c.group_dict.display_name }} - {{ _('Groups') }}{% endblock %}
{% set group = c.group_dict %}
{% block breadcrumb_content %}
<li>{% link_for _('Groups'), controller='group', action='index' %}</li>
{% block breadcrumb_content_inner %}
<li>{% link_for group.display_name|truncate(35), controller='group', action='read', id=group.name %}</li>
<li class="active">{% link_for _('Manage'), controller='group', action='edit', id=group.name %}</li>
{% endblock %}
{% endblock %}
{% block content_action %}
{% link_for _('View'), controller='group', action='read', id=c.group_dict.name, class_='btn', icon='eye-open' %}
{% endblock %}
{% block content_primary_nav %}
{{ h.build_nav_icon('group_edit', _('Edit'), id=c.group_dict.name) }}
{{ h.build_nav_icon('group_members', _('Members'), id=c.group_dict.name) }}
{% endblock %}
{% block secondary_content %}
{% snippet "group/snippets/info.html", group=c.group_dict, show_nums=false %}
{% endblock %}