36 lines
965 B
Text
36 lines
965 B
Text
<div class="container">
|
|
<nav aria-label="breadcrumb">
|
|
<ol class="breadcrumb">
|
|
<li class="breadcrumb-item">
|
|
<%= link_to translate(:staff_services), staff_root_path %>
|
|
</li>
|
|
|
|
<li class="breadcrumb-item">
|
|
<%= link_to Account.model_name.human(count: 0), staff_accounts_path %>
|
|
</li>
|
|
|
|
<li class="breadcrumb-item active" aria-current="page">
|
|
<%= @account.nickname %>
|
|
</li>
|
|
</ol>
|
|
</nav>
|
|
|
|
<% if @account.superuser? %>
|
|
<div>
|
|
<span class="badge badge-primary">
|
|
<%= translate :superuser %>
|
|
</span>
|
|
</div>
|
|
<% end %>
|
|
|
|
<dl class="mt-3">
|
|
<dt><%= Account.human_attribute_name :nickname %></dt>
|
|
<dd><%= @account.nickname %></dd>
|
|
|
|
<dt><%= Account.human_attribute_name :public_name %></dt>
|
|
<dd><%= @account.public_name %></dd>
|
|
|
|
<dt><%= Account.human_attribute_name :person %></dt>
|
|
<dd><%= staff_person_link_or_none @account.person %></dd>
|
|
</dl>
|
|
</div>
|