Remove inactive tokens table
This commit is contained in:
parent
6fb712a073
commit
aca213ad32
1 changed files with 0 additions and 19 deletions
|
@ -39,22 +39,3 @@
|
|||
- else
|
||||
.settings-message.text-center
|
||||
This user has no active #{type} Tokens.
|
||||
|
||||
%hr
|
||||
|
||||
%h5 Inactive #{type} Tokens (#{inactive_tokens.length})
|
||||
- if inactive_tokens.present?
|
||||
.table-responsive
|
||||
%table.table.inactive-tokens
|
||||
%thead
|
||||
%tr
|
||||
%th Name
|
||||
%th Created
|
||||
%tbody
|
||||
- inactive_tokens.each do |token|
|
||||
%tr
|
||||
%td= token.name
|
||||
%td= token.created_at.to_date.to_s(:medium)
|
||||
- else
|
||||
.settings-message.text-center
|
||||
This user has no inactive #{type} Tokens.
|
||||
|
|
Loading…
Reference in a new issue