Skip to content

Commit

Permalink
removed "why not add some" link
Browse files Browse the repository at this point in the history
  • Loading branch information
Manoj-nathwani committed May 7, 2021
1 parent 0618682 commit cedd983
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,7 @@ <h3>{{ _('Core Resources') }}</h3>
{% endfor %}
</ul>
{% else %}
{% if h.check_access('resource_create', {'package_id': pkg['id']}) and not is_activity_archive %}
{% trans url=h.url_for(pkg.type ~ '_resource.new', id=pkg.name) %}
<p class="empty">This dataset has no core resources, <a href="{{ url }}">why not add some?</a></p>
{% endtrans %}
{% else %}
<p class="empty">{{ _('This dataset has no core resources') }}</p>
{% endif %}
<p class="empty">{{ _('This dataset has no core resources') }}</p>
{% endif %}
</section>

Expand Down

0 comments on commit cedd983

Please sign in to comment.