Skip to content

Commit

Permalink
change acquired to shared
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylanben256 committed Mar 20, 2024
1 parent 370090a commit ff5c06b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ckanext/privatedatasets/templates_2.8/package/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<a href="{{ h.url_for('privatedatasets.acquired_datasets') }}" title="{{ notifications_tooltip }}"
class="btn btn-primary">
<i class="fa fa-archive" aria-hidden="true"></i>
<span class="text">{{ _('See acquired datasets list') }}</span>
<span class="text">{{ _('Datasets Shared with me') }}</span>
</a>
{% endif %}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ <h3 class="dataset-heading">
{% if acquired and not owner %}
<span class="dataset-private label label-acquired">
<i class="icon-shopping-cart fa fa-shopping-cart"></i>
{{ _('Acquired') }}
{{ _('Shared') }}
</span>
{% endif %}
{% if owner %}
Expand Down
2 changes: 1 addition & 1 deletion ckanext/privatedatasets/templates_2.8/user/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<ul class="nav nav-tabs">
{{ h.build_nav_icon('dashboard.index', _('News feed'), icon='list') }}
{{ h.build_nav_icon('dashboard.datasets', _('My Datasets'), icon='sitemap') }}
{{ h.build_nav_icon('privatedatasets.acquired_datasets', _('Acquired Datasets'), icon='archive') }}
{{ h.build_nav_icon('privatedatasets.acquired_datasets', _('Shared Datasets'), icon='archive') }}
{{ h.build_nav_icon('dashboard.organizations', _('My Organizations'), icon='building-o') }}
{{ h.build_nav_icon('dashboard.groups', _('My Groups'), icon='users') }}
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,13 @@

{% block dashboard_activity_stream_context %}{% endblock %}

{% block page_primary_action %}
{% link_for _('Acquire Dataset'), controller='dataset', action='search', class_="btn btn-primary", icon="shopping-cart" %}
{% endblock %}

{% block primary_content_inner %}
<h2 class="hide-heading">{{ _('Acquired Datasets') }}</h2>
<h2 class="heading">{{ _('Shared Datasets') }}</h2>
{% if acquired_datasets %}
{% snippet 'snippets/package_list.html', packages=acquired_datasets %}
{% else %}
<p class="empty">
{{ _('You haven\'t acquired any datasets.') }}
{% link_for _('Acquire one now?'), controller='dataset', action='search' %}
{{ _('You haven\'t got any shared datasets yet.') }}
</p>
{% endif %}
{% endblock %}

0 comments on commit ff5c06b

Please sign in to comment.