Skip to content

Commit

Permalink
Add activity and group tab
Browse files Browse the repository at this point in the history
  • Loading branch information
blagojabozinovski committed Mar 10, 2024
1 parent 3ae0539 commit 5021da7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ckanext/iaea/templates/package/read_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
{% block content_primary_nav %}
{{ h.build_nav_icon('dataset_read', _('Dataset'), id=pkg.name) }}
{{ h.build_nav_icon('iaea.metadata', _('Metadata'), id=pkg.name, icon='fa fa-tag') }}
{{ h.build_nav_icon(dataset_type ~ '.groups', _('Groups'), id=pkg.id if is_activity_archive else pkg.name, icon='users') }}
{{ h.build_nav_icon(dataset_type ~ '.activity', _('Activity Stream'), id=pkg.id if is_activity_archive else pkg.name, icon='clock-o') }}
{% if h.check_access('package_update', {'id':pkg.id }) %}
{{ h.build_nav_icon('iaea.feature_view', _('View'), id=pkg.name, icon='check-square-o') }}
{% endif %}
Expand Down

0 comments on commit 5021da7

Please sign in to comment.