Skip to content

Commit

Permalink
Fix add dataset logic
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Jun 26, 2013
1 parent be5413d commit e414929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/templates/organization/read.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "organization/read_base.html" %}

{% block page_primary_action %}
{% if h.check_access('organization_update', {'id': c.group_dict.id}) %}
{% if h.check_access('package_create', {'organization_id': c.group_dict.id}) %}
{% link_for _('Add Dataset'), controller='package', action='new', group=c.group_dict.id, class_='btn btn-primary', icon='plus-sign-alt' %}
{% endif %}
{% endblock %}
Expand Down

0 comments on commit e414929

Please sign in to comment.