Albums almost done, group, chat moderation, photo, video page updates
This commit is contained in:
mgabdev
2020-12-21 13:25:05 -05:00
parent a2ffbadedb
commit ee91809e8d
45 changed files with 1013 additions and 509 deletions

View File

@@ -2,7 +2,7 @@
%td
= admin_account_link_to(account)
- if account.is_flagged_as_spam
%span SPAM
%span{ :style => "display:block;margin:5px 0 0 20px;font-size:12px;background-color:#781600;border-radius:6px;color:#fff;width:40px;line-height:22px;font-weight:600;padding:2px 0 0 6px;" } SPAM
%td
- if account.user_current_sign_in_ip
%samp.ellipsized-ip{ title: account.user_current_sign_in_ip }= account.user_current_sign_in_ip

View File

@@ -123,6 +123,14 @@
%time.formatted{ datetime: @account.created_at.iso8601, title: l(@account.created_at) }= l @account.created_at
%td
%tr
%th Is flagged as spam
%td
- if @account.is_flagged_as_spam?
%span YES
- else
%span no
%tr
%th= t('admin.accounts.most_recent_ip')
%td= @account.user_current_sign_in_ip