2019-07-02 08:10:25 +01:00
|
|
|
%tr
|
|
|
|
%td
|
|
|
|
= admin_account_link_to(account)
|
|
|
|
%td
|
|
|
|
- if 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
|
2020-12-16 00:31:30 +00:00
|
|
|
\-
|
|
|
|
%td
|
2021-02-10 17:24:09 +00:00
|
|
|
%samp= number_with_delimiter account.statuses.count
|
|
|
|
%td
|
|
|
|
%div{ :style => "display:flex;flex-direction:row;" }
|
|
|
|
- if account.is_flagged_as_spam
|
|
|
|
%span{ :style => "display:inline-block;margin-right:4px;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
|
|
|
|
- if account.is_pro
|
|
|
|
%span{ :style => "display:inline-block;margin-right:4px;font-size:12px;background-color:#FFD700;border-radius:6px;color:#292929;width:24px;line-height:22px;font-weight:600;text-align:center;padding:2px 0 0 2px;" } P
|
|
|
|
- if account.is_verified
|
|
|
|
%span{ :style => "display:inline-block;margin-right:4px;font-size:12px;background-color:#fff;border-radius:6px;color:#292929;width:24px;line-height:22px;font-weight:600;text-align:center;padding:2px 0 0 2px;" } V
|
|
|
|
- if account.is_donor
|
|
|
|
%span{ :style => "display:inline-block;margin-right:4px;font-size:12px;background-color:#4EA6FF;border-radius:6px;color:#292929;width:24px;line-height:22px;font-weight:600;text-align:center;padding:2px 0 0 2px;" } D
|
|
|
|
- if account.is_investor
|
|
|
|
%span{ :style => "display:inline-block;font-size:12px;background-color:#6DD900;border-radius:6px;color:#292929;width:24px;line-height:22px;font-weight:600;text-align:center;padding:2px 0 0 2px;" } I
|