Restore profile links in /admin/accounts (#9494)

Fixes #9431
master
ThibG 6 years ago committed by Eugen Rochko
parent c58c00651b
commit 11a91592aa
  1. 3
      app/views/admin/accounts/_account.html.haml
  2. 1
      app/views/admin/accounts/index.html.haml

@ -13,3 +13,6 @@
%time.time-ago{ datetime: account.user_current_sign_in_at.iso8601, title: l(account.user_current_sign_in_at) }= l account.user_current_sign_in_at %time.time-ago{ datetime: account.user_current_sign_in_at.iso8601, title: l(account.user_current_sign_in_at) }= l account.user_current_sign_in_at
- else - else
\- \-
%td
= table_link_to 'circle', t('admin.accounts.web'), web_path("accounts/#{account.id}")
= table_link_to 'globe', t('admin.accounts.public'), TagManager.instance.url_for(account)

@ -41,6 +41,7 @@
%th= t('admin.accounts.role') %th= t('admin.accounts.role')
%th= t('admin.accounts.most_recent_ip') %th= t('admin.accounts.most_recent_ip')
%th= t('admin.accounts.most_recent_activity') %th= t('admin.accounts.most_recent_activity')
%th
%tbody %tbody
= render @accounts = render @accounts

Loading…
Cancel
Save