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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
388 B
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
- is_admin = local_assigns.fetch(:admin, false)
- if @gpg_keys.any?
2018-11-08 19:23:39 +05:30
%ul.content-list
2017-09-10 17:25:29 +05:30
= render partial: 'profiles/gpg_keys/key', collection: @gpg_keys, locals: { is_admin: is_admin }
- else
%p.settings-message.text-center
- if is_admin
2019-09-04 21:01:54 +05:30
= _('There are no GPG keys associated with this account.')
2017-09-10 17:25:29 +05:30
- else
2019-09-04 21:01:54 +05:30
= _('There are no GPG keys with access to your account.')