21 lines
766 B
HTML
21 lines
766 B
HTML
{% extends "user/dashboard.html" %}
|
|
|
|
{% block dashboard_activity_stream_context %}{% endblock %}
|
|
|
|
{% block page_primary_action %}
|
|
{% link_for _('Adquire Dataset'), controller='package', action='new', class_="btn btn-primary", icon="shopping-cart" %}
|
|
{% endblock %}
|
|
|
|
{% block primary_content_inner %}
|
|
<h2 class="hide-heading">{{ _('Adquired Datasets') }}</h2>
|
|
{% if c.user_dict.adquired_datasets %}
|
|
{% snippet 'snippets/package_list.html', packages=c.user_dict.adquired_datasets %}
|
|
{% else %}
|
|
<p class="empty">
|
|
{{ _('You haven\'t adquired any datasets.') }}
|
|
{% if h.check_access('package_create') %}
|
|
{% link_for _('Adquire one now?'), controller='package', action='search' %}
|
|
{% endif %}
|
|
</p>
|
|
{% endif %}
|
|
{% endblock %} |