gitlab-org--gitlab-foss/app/views/shared/_custom_attributes.html.haml

13 lines
433 B
Text

- return unless custom_attributes.present?
= render Pajamas::CardComponent.new(body_options: { class: 'gl-py-0' }) do |c|
- c.header do
= link_to(_('Custom Attributes'), help_page_path('api/custom_attributes.md'))
- c.body do
%ul.content-list
- custom_attributes.each do |custom_attribute|
%li
%span.light
= custom_attribute.key
%strong
= custom_attribute.value