-
Notifications
You must be signed in to change notification settings - Fork 2k
/
read_base.html
29 lines (23 loc) · 1.14 KB
/
read_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
29
{% extends "page.html" %}
{% block subtitle %}{{ group_dict.display_name }} {{ g.template_title_delimiter }} {{ _('Groups') }}{% endblock %}
{% block breadcrumb_content %}
<li>{% link_for _('Groups'), named_route=group_type+'.index' %}</li>
<li class="active">{% link_for group_dict.display_name|truncate(35), named_route=group_type+'.read', id=group_dict.name %}</li>
{% endblock %}
{% block content_action %}
{% if h.check_access('group_update', {'id': group_dict.id}) %}
{% link_for _('Manage'), named_route=group_type+'.edit', id=group_dict.name, class_='btn btn-default', icon='wrench' %}
{% endif %}
{% endblock %}
{% block content_primary_nav %}
{{ h.build_nav_icon(group_type + '.read', _('Datasets'), id=group_dict.name) }}
{{ h.build_nav_icon(group_type + '.activity', _('Activity Stream'), id=group_dict.name, offset=0) }}
{{ h.build_nav_icon(group_type + '.about', _('About'), id=group_dict.name) }}
{% endblock %}
{% block secondary_content %}
{% snippet "group/snippets/info.html", group=group_dict, show_nums=true %}
{% endblock %}
{% block links %}
{{ super() }}
{% include "group/snippets/feeds.html" %}
{% endblock %}