Sha256: 11912c57c55cc82816eed5d75d19c25c686a5b5d330fe52f8c3f935313add037
Contents?: true
Size: 852 Bytes
Versions: 3
Compression:
Stored size: 852 Bytes
Contents
<ul class="nav nav-tabs" id="my_nav" role="list"> <li<%= ' class="active"'.html_safe if current_page?(hyrax.dashboard_works_path(locale: nil)) %>> <% if params[:add_works_to_collection].present? && params[:add_works_to_collection_label].present? %> <%= link_to t("hyrax.dashboard.#{current_ability.admin? ? 'all' : 'managed'}.works"), hyrax.dashboard_works_path(add_works_to_collection: params[:add_works_to_collection], add_works_to_collection_label: params[:add_works_to_collection_label]) %> <% else %> <%= link_to t("hyrax.dashboard.#{current_ability.admin? ? 'all' : 'managed'}.works"), hyrax.dashboard_works_path %> <% end %> </li> <li<%= ' class="active"'.html_safe if current_page?(hyrax.my_works_path(locale: nil)) %>> <%= link_to t('hyrax.dashboard.my.your_works'), hyrax.my_works_path %> </li> </ul>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
hyrax-3.6.0 | app/views/hyrax/my/works/_tabs.html.erb |
hyrax-3.5.0 | app/views/hyrax/my/works/_tabs.html.erb |
hyrax-3.4.2 | app/views/hyrax/my/works/_tabs.html.erb |