Sha256: 2481e46e60da9afbfeefab85faf6f58d5d5204ee6983c01785ce412f32e5e9ba
Contents?: true
Size: 1.46 KB
Versions: 7
Compression:
Stored size: 1.46 KB
Contents
<ul class="nav nav-tabs"> <% if Pundit.policy(current_user, Storytime::Membership).index? %> <li role="presentation" <%= active_nav_item_class("memberships") %>> <%= link_to [:dashboard, :memberships], remote: true, class: "storytime-modal-trigger" do %> <i class="icon-st-icons-users"></i> <span class="hidden-xs">Users</span> <% end %> </li> <% end %> <% if Pundit.policy(current_user, Storytime::Site).edit? %> <li role="presentation" <%= active_nav_item_class("sites") %>> <%= link_to [:edit, :dashboard, @current_storytime_site], remote: true, class: "storytime-modal-trigger" do %> <i class="icon-st-icons-settings"></i> <span class="hidden-xs"><%= t('dashboard.sites.edit') %></span> <% end %> </li> <li role="presentation" <%= active_nav_item_class("roles") %>> <%= link_to edit_multiple_dashboard_roles_path, remote: true, class: "storytime-modal-trigger" do %> <i class="icon-st-icons-permission"></i> <span class="hidden-xs">Permissions</span> <% end %> </li> <% end %> <% if Pundit.policy(current_user, Storytime::Subscription).manage? %> <li role="presentation" <%= active_nav_item_class("subscriptions") %>> <%= link_to [:dashboard, Storytime::Subscription], remote: true, class: "storytime-modal-trigger" do %> <i class="icon-st-icons-subscribe"></i> <span class="hidden-xs">Subscriptions</span> <% end %> </li> <% end %> </ul>
Version data entries
7 entries across 7 versions & 1 rubygems