Skip to content

Commit

Permalink
[#844] Small textual and template tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin committed Jun 26, 2013
1 parent f1eebbe commit 6aace01
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
12 changes: 9 additions & 3 deletions ckan/templates/group/edit.html
@@ -1,7 +1,13 @@
{% extends "group/base_form_page.html" %}

{% block subtitle %}{{ _('Edit a Group') }}{% endblock %}
{% 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 _('Edit'), controller='group', action='edit', id=group.name %}</li>
{% endblock %}
{% endblock %}

{% block breadcrumb_link %}{% link_for _('Edit Group'), controller='group', action='edit', id=c.group.name %}{% endblock %}
{% block subtitle %}{{ _('Edit Group') }}{% endblock %}

{% block page_heading %}{{ _('Edit a Group') }}{% endblock %}
{% block page_heading %}{{ _('Edit Group') }}{% endblock %}
8 changes: 8 additions & 0 deletions ckan/templates/group/edit_base.html
Expand Up @@ -2,6 +2,14 @@

{% 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 _('Edit'), controller='group', action='edit', id=group.name %}</li>
{% endblock %}
{% endblock %}

{% block actions_content %}
<li>{% link_for _('View group'), controller='group', action='read', id=c.group_dict.name, class_='btn', icon='eye-open' %}</li>
{% endblock %}
Expand Down
2 changes: 2 additions & 0 deletions ckan/templates/group/members.html
@@ -1,5 +1,7 @@
{% extends "group/edit_base.html" %}

{% block subtitle %}{{ _('Members') }} - {{ c.group_dict.display_name }}{% endblock %}

{% block primary_content_inner %}
<div class="module-content">
{% link_for _('Add Member'), controller='group', action='member_new', id=c.group_dict.id, class_='btn pull-right', icon='plus-sign-alt' %}
Expand Down

0 comments on commit 6aace01

Please sign in to comment.