diff options
author | Nick Thomas <nick@gitlab.com> | 2017-08-30 21:20:00 +0100 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2017-08-30 21:20:00 +0100 |
commit | 29b40db58944a32db6cf1ae9906653a2e5f4be9d (patch) | |
tree | e5a8746dfbbbae708178f3e60bd6be1d41c518f8 /app/views | |
parent | eb05bdc6f589f6f0713df12582eb9f18fc4022b3 (diff) | |
download | gitlab-ce-29b40db58944a32db6cf1ae9906653a2e5f4be9d.tar.gz |
More review comments
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/profiles/keys/_key.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/profiles/keys/_key.html.haml b/app/views/profiles/keys/_key.html.haml index 99b9a05fff6..103446243e5 100644 --- a/app/views/profiles/keys/_key.html.haml +++ b/app/views/profiles/keys/_key.html.haml @@ -3,8 +3,8 @@ - if key.valid? = icon 'key', class: 'settings-list-icon hidden-xs' - else - = icon 'exclamation-triangle', class: 'settings-list-icon hidden-xs', - title: 'The key is disabled because it is invalid' + = icon 'exclamation-triangle', class: 'settings-list-icon hidden-xs has-tooltip', + title: key.errors.full_messages.join(', ') .key-list-item-info |