diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-07-14 13:56:50 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-07-14 13:56:50 +0000 |
commit | e90c382c25fbccf885e8345d614dc4d6fc9909b6 (patch) | |
tree | c6ed38c2f39331a45332b40b66ba5a48e88a8bd2 /app/views | |
parent | c42e481f394cbf33ffecfef82ad37c3ab5bdc179 (diff) | |
parent | fa0e43bb578d3e126776a6a6763b943d0363d3e5 (diff) | |
download | gitlab-ce-e90c382c25fbccf885e8345d614dc4d6fc9909b6.tar.gz |
Merge branch '19629-remove-inactive-tokens-list' into 'master'
Remove Inactive Personal Access Tokens list from Access Tokens page
Closes #19629
See merge request !12866
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/shared/_personal_access_tokens_table.html.haml | 19 |
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. |