2019-03-26 23:02:51 -04:00
|
|
|
<div class="container">
|
2019-08-15 03:57:17 -04:00
|
|
|
<%= nav_breadcrumb translate :staff_services %>
|
2019-07-26 00:46:01 -04:00
|
|
|
|
2019-03-27 01:34:59 -04:00
|
|
|
<ul>
|
2019-09-13 14:47:44 -04:00
|
|
|
<% if current_account&.can_access_sidekiq_web_interface? %>
|
|
|
|
<li>
|
2019-09-29 08:08:20 -04:00
|
|
|
<%= link_to translate(:sidekiq), staff_sidekiq_path, target: :_blank %>
|
|
|
|
<i class="fas fa-external-link-alt fa-xs text-muted"></i>
|
2019-09-13 14:47:44 -04:00
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
|
2019-08-11 16:48:50 -04:00
|
|
|
<% if policy(%i[staff account]).index? %>
|
|
|
|
<li>
|
|
|
|
<%= link_to Account.model_name.human(count: 0), staff_accounts_path %>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
|
2019-07-08 10:33:55 -04:00
|
|
|
<% if policy(%i[staff person]).index? %>
|
2019-03-27 01:34:59 -04:00
|
|
|
<li>
|
|
|
|
<%= link_to Person.model_name.human(count: 0), staff_people_path %>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2019-08-17 19:44:32 -04:00
|
|
|
|
|
|
|
<% if policy(%i[staff contact_network]).index? %>
|
|
|
|
<li>
|
|
|
|
<%= link_to ContactNetwork.model_name.human(count: 0),
|
|
|
|
staff_contact_networks_path %>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2019-09-21 11:39:52 -04:00
|
|
|
|
|
|
|
<% if policy([:staff, RelationStatus]).index? %>
|
|
|
|
<li>
|
|
|
|
<%= link_to RelationStatus.model_name.human(count: 0),
|
|
|
|
staff_relation_statuses_path %>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2019-09-30 16:05:04 -04:00
|
|
|
|
|
|
|
<% if policy([:staff, OrgUnitKind]).index? %>
|
|
|
|
<li>
|
|
|
|
<%= link_to OrgUnitKind.model_name.human(count: 0),
|
|
|
|
staff_org_unit_kinds_path %>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2019-09-30 21:59:31 -04:00
|
|
|
|
|
|
|
<% if policy([:staff, OrgUnit]).index? %>
|
|
|
|
<li>
|
|
|
|
<%= link_to OrgUnit.model_name.human(count: 0),
|
|
|
|
staff_org_units_path %>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
2019-03-27 01:34:59 -04:00
|
|
|
</ul>
|
2019-03-26 23:02:51 -04:00
|
|
|
</div>
|