1
0
Fork 0
This repository has been archived on 2023-03-27. You can view files and clone it, but cannot push or open issues or pull requests.
lpr-partynest/app/views/staffs/home/show.html.erb

46 lines
1.2 KiB
Text
Raw Normal View History

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 %>
<% 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 %>
<% if policy(%i[staff contact_network]).index? %>
<li>
<%= link_to ContactNetwork.model_name.human(count: 0),
staff_contact_networks_path %>
</li>
<% end %>
<% if policy([:staff, RelationStatus]).index? %>
<li>
<%= link_to RelationStatus.model_name.human(count: 0),
staff_relation_statuses_path %>
</li>
<% end %>
<% if policy([:staff, OrgUnitKind]).index? %>
<li>
<%= link_to OrgUnitKind.model_name.human(count: 0),
staff_org_unit_kinds_path %>
</li>
<% end %>
2019-03-27 01:34:59 -04:00
</ul>
2019-03-26 23:02:51 -04:00
</div>