Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_signature_badge_user.html.haml « x509 « commit « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f3d39b21ec2f38bc2dca25db57742c3f6d533705 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- user_email = signature.x509_certificate.email
- user = signature.user

- if user
  = link_to user_path(user), class: 'gpg-popover-user-link' do
    %div
      = user_avatar_without_link(user: user, size: 32)

    %div
      %strong= user.name
      %div= user.to_reference

- else
  = mail_to user_email do
    %div
      = user_avatar_without_link(user_email: user_email, size: 32)

    %div
      %strong= user_email