debian-mirror-gitlab/app/views/profiles/keys/_key_table.html.haml

12 lines
359 B
Text
Raw Normal View History

2016-06-02 11:05:42 +05:30
- is_admin = local_assigns.fetch(:admin, false)
2015-12-23 02:04:40 +05:30
- if @keys.any?
2016-06-02 11:05:42 +05:30
%ul.well-list
= render partial: 'profiles/keys/key', collection: @keys, locals: { is_admin: is_admin }
2015-12-23 02:04:40 +05:30
- else
2016-06-02 11:05:42 +05:30
%p.settings-message.text-center
2015-12-23 02:04:40 +05:30
- if is_admin
2016-06-02 11:05:42 +05:30
There are no SSH keys associated with this account.
2015-12-23 02:04:40 +05:30
- else
There are no SSH keys with access to your account.