summaryrefslogtreecommitdiff
path: root/app/views/shared/deploy_tokens/_table.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/deploy_tokens/_table.html.haml')
-rw-r--r--app/views/shared/deploy_tokens/_table.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/deploy_tokens/_table.html.haml b/app/views/shared/deploy_tokens/_table.html.haml
index fe32fcf94d0..db9c646b694 100644
--- a/app/views/shared/deploy_tokens/_table.html.haml
+++ b/app/views/shared/deploy_tokens/_table.html.haml
@@ -20,7 +20,7 @@
%td
- if token.expires?
%span{ class: ('text-warning' if token.expires_soon?) }
- In #{distance_of_time_in_words_to_now(token.expires_at)}
+ = time_ago_with_tooltip(token.expires_at)
- else
%span.token-never-expires-label= _('Never')
%td= token.scopes.present? ? token.scopes.join(', ') : _('no scopes selected')