debian-mirror-gitlab/app/views/projects/blob/viewers/_license.html.haml
2021-06-08 01:23:25 +05:30

6 lines
338 B
Text

- license = viewer.license
= sprite_icon('scale')
= _("This project is licensed under the %{strong_start}%{license_name}%{strong_end}.").html_safe % { license_name: license.name, strong_start: '<strong>'.html_safe, strong_end: '</strong>'.html_safe }
= link_to _('Learn more'), license.url, target: '_blank', rel: 'noopener noreferrer'