Skip to content

Commit

Permalink
[#2939] Group/Org index template fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Oct 2, 2012
1 parent c0d5b46 commit bc8441c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ckan/templates/group/index.html
Expand Up @@ -21,7 +21,7 @@ <h1 class="page-heading">{{ _('Groups') }}</h1>
{% else %}
<p class="empty">
{{ _('There are currently no groups for this site') }}.
{% if h.check_access('package_create') %}
{% if h.check_access('group_create') %}
{% link_for _('How about creating one?'), controller='group', action='new' %}</a>.
{% endif %}
</p>
Expand Down
4 changes: 3 additions & 1 deletion ckan/templates/organization/index.html
Expand Up @@ -7,7 +7,9 @@
{% endblock %}

{% block actions_content %}
<li>{% link_for _('Add Organization'), controller='organization', action='new', class_='btn', icon='plus' %}</li>
{% if h.check_access('organization_create') %}
<li>{% link_for _('Add Organization'), controller='organization', action='new', class_='btn', icon='plus' %}</li>
{% endif %}
{% endblock %}

{% block primary_content %}
Expand Down

0 comments on commit bc8441c

Please sign in to comment.