Sha256: ab65c4a65b729c85085cba96bddd2db0466e34c5ced5e6f8746f5dbafd300c4f
Contents?: true
Size: 1.54 KB
Versions: 4
Compression:
Stored size: 1.54 KB
Contents
- content_for :title do "Account Users" end %h3 Usuários %table.table %thead %tr %th Usuário %th %tbody - @account_users.each do |account_user| %tr %td - if account_user.user.name.blank? = account_user.user.email - else = account_user.user.name %td - if current_user.is?(:owner, @account) || current_user.is?(:admin, @account) = link_to I18n.t("iugu.permissions"), account_roles_edit_path(@account, :user_id => account_user.user), :class => "button small no-bottom-margin" - unless account_user.destroying? - unless account_user.is?(:owner) || account_user.user_id == current_user.id | = link_to I18n.t("iugu.remove"), account_users_destroy_path(@account, :user_id => account_user.user), :method => 'delete', :class => "button small no-bottom-margin" - else | - if IuguSDK::delay_account_user_exclusion == 0 = I18n.t("iugu.removing") - else = link_to I18n.t("iugu.undo"), account_users_cancel_destruction_path(@account, :user_id => account_user.user), :method => 'delete', :class => "button small no-bottom-margin" - if current_user.is?(:owner, @account) || current_user.is?(:admin, @account) %div = link_to I18n.t("iugu.invite"), new_invite_path(@account), :class => "button full-width" = link_to I18n.t("iugu.back"), account_view_path(id: params[:account_id]), class: "button no-bottom-margin"
Version data entries
4 entries across 4 versions & 1 rubygems