Browse Source

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

Fixes #9431
master
ThibG 6 years ago
committed by Eugen Rochko
parent
commit
11a91592aa
2 changed files with 4 additions and 0 deletions
  1. +3
    -0
      app/views/admin/accounts/_account.html.haml
  2. +1
    -0
      app/views/admin/accounts/index.html.haml

+ 3
- 0
app/views/admin/accounts/_account.html.haml View File

@ -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
- 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)

+ 1
- 0
app/views/admin/accounts/index.html.haml View File

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

Loading…
Cancel
Save