Display Contributor and Author badges on notes
4 unresolved threads
4 unresolved threads
Compare changes
Files
8+ 3
− 3
@@ -206,9 +206,9 @@ def issuable_meta(issuable, project, text)
@@ -206,9 +206,9 @@ def issuable_meta(issuable, project, text)
output << content_tag(:span, access, class: "user-access-role has-tooltip d-none d-sm-inline-block gl-ml-3 ", title: _("This user is a %{access} of the %{name} project.") % { access: access.downcase, name: project.name })
output << content_tag(:span, _("Contributor"), class: "user-access-role has-tooltip d-none d-sm-inline-block gl-ml-3", title: _("This user has previously committed to the %{name} project.") % { name: project.name })
output << content_tag(:span, (sprite_icon('first-contribution', css_class: 'gl-icon gl-vertical-align-middle') if issuable.first_contribution?), class: 'has-tooltip gl-ml-2', title: _('1st contribution!'))