summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkushalpandya <kushal@gitlab.com>2017-07-14 15:06:19 +0530
committerkushalpandya <kushal@gitlab.com>2017-07-14 15:06:19 +0530
commitaca213ad3241667918659052d55f14f36bc33305 (patch)
tree638bc64f80e7b50f0ef065af64748063f4b61e31
parent6fb712a073c66d66c00ef4302f40da2280fb9bc3 (diff)
downloadgitlab-ce-aca213ad3241667918659052d55f14f36bc33305.tar.gz
Remove inactive tokens table
-rw-r--r--app/views/shared/_personal_access_tokens_table.html.haml19
1 files changed, 0 insertions, 19 deletions
diff --git a/app/views/shared/_personal_access_tokens_table.html.haml b/app/views/shared/_personal_access_tokens_table.html.haml
index ab7a2db002e..c5e4d6e2871 100644
--- a/app/views/shared/_personal_access_tokens_table.html.haml
+++ b/app/views/shared/_personal_access_tokens_table.html.haml
@@ -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.