Commit aca213ad authored by kushalpandya's avatar kushalpandya

Remove inactive tokens table

parent 6fb712a0
...@@ -39,22 +39,3 @@ ...@@ -39,22 +39,3 @@
- else - else
.settings-message.text-center .settings-message.text-center
This user has no active #{type} Tokens. 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.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment