% content_for :document_ready do %> PwCollapsibleTable(); PwSlide(); <% end %> <% tabr = ["Non visible", "Vignette", "Plein écran", "BD", "HD"] %>
| <%= I18n.t(:title) %> | <%= I18n.t(:group) %> | <%= I18n.t(:type) %> | <%= I18n.t(:first_name) %> | <%= I18n.t(:last_name) %> | <%= I18n.t(:email) %> | <%= I18n.t(:phone) %> | <%= I18n.t(:status) %> | <% if current_user.is_provider_admin? %>Restrictions | <% end %><%= I18n.t(:updated_at_recently) %> |
|---|---|---|---|---|---|---|---|---|---|
| <%= p.visible_name %> | <%= p.group %> | <%= p.title_type %> | <%= p.first_name %> | <%= p.last_name %> | <%= mail_to(p.email) %> | <%= p.phone %> | <%= I18n.t(Title::TITLE_VISIBLE[p.visible]) unless p.visible == 2 %> |
<% if current_user.is_provider_admin? %>
<% if @prov %>
<%= tabr[@autho[p.id]] %>
<% elsif @l_prov %>
<% get_restric(p.title_provider_group_name_id, @l_prov).each do |k,v| %>
<%= Provider.find(k).name %> => <%= tabr[v] %>
<% end %> <% end %> <% end %> |
<% if p.updated_at >= Time.now.months_ago(6) %> <%= I18n.l(p.updated_at, format: "%d/%m/%Y") %> <% end %> |
|
AUTRES ACCES | |||||||||
| <%= @icono_title %> | <%= u.first_name %> | <%= u.last_name %> | <%= mail_to(u.email) %> | <%= u.phone %> | <% if u.updated_at >= Time.now.months_ago(6) %> <%= I18n.l(u.updated_at, format: "%d/%m/%Y") %> <% end %> | ||||
| <%= @icono_test_title %> | <%= u.first_name %> | <%= u.last_name %> | <%= mail_to(u.email) %> | <%= u.phone %> | <% if u.updated_at >= Time.now.months_ago(6) %> <%= I18n.l(u.updated_at, format: "%d/%m/%Y") %> <% end %> | ||||
| <%= @partner_title %> | <%= u.first_name %> | <%= u.last_name %> | <%= mail_to(u.email) %> | <%= u.phone %> | <% if u.updated_at >= Time.now.months_ago(6) %> <%= I18n.l(u.updated_at, format: "%d/%m/%Y") %> <% end %> | ||||