2020-10-16 18:09:04 +00:00
|
|
|
.template-option.d-flex.align-items-center{ data: { qa_selector: 'template_option_row' } }
|
|
|
|
.logo.gl-mr-3.px-1
|
|
|
|
= image_tag template.logo, size: 32, class: "btn-template-icon icon-#{template.name}"
|
|
|
|
.description
|
|
|
|
%strong
|
|
|
|
= template.title
|
|
|
|
%br
|
|
|
|
.text-muted
|
|
|
|
= template.description
|
|
|
|
.controls.d-flex.align-items-center
|
2021-09-15 18:11:29 +00:00
|
|
|
%a.btn.gl-button.btn-default.gl-mr-3{ href: template.preview, rel: 'noopener noreferrer', target: '_blank', data: { track_label: "template_preview", track_property: template.name, track_action: "click_button", track_value: "" } }
|
2020-10-16 18:09:04 +00:00
|
|
|
= _("Preview")
|
2021-04-28 03:09:58 +00:00
|
|
|
%label.btn.gl-button.btn-confirm.template-button.choose-template.gl-mb-0{ for: template.name }
|
2021-09-15 18:11:29 +00:00
|
|
|
%input{ type: "radio", autocomplete: "off", name: "project[template_name]", id: template.name, value: template.name, data: { track_label: "template_use", track_property: template.name, track_action: "click_button", track_value: "" } }
|
2020-10-16 18:09:04 +00:00
|
|
|
%span{ data: { qa_selector: 'use_template_button' } }
|
|
|
|
= _("Use template")
|