Commit 1ec3c287 authored by Islam Wazery's avatar Islam Wazery
Browse files

Add mail_to button new issue by email modal

parent 8ebd414b9417
......@@ -18,7 +18,14 @@
= text_field_tag :issuable_email, email, class: "monospace js-select-on-focus form-control", readonly: true
= clipboard_button(target: '#issuable_email')
= clipboard_button(target: '#issuable_email', class: 'btn btn-clipboard btn-transparent hidden-xs')
= mail_to email, class: 'btn btn-clipboard btn-transparent',
subject: _("Enter the #{name} title"),
body: _("Enter the #{name} description"),
title: _('Send email'),
data: { toggle: 'tooltip', placement: 'bottom' } do
= sprite_icon('mail')
= render 'by_email_description'
title: Add email button to new issue by email
merge_request: 10942
author: Islam Wazery
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment