Merge branch '30665-add-email-button-to-new-issue-by-email' into 'master'
Resolve "Have mailto: link in "Email a new issue to this project"" Closes #30665 See merge request gitlab-org/gitlab-ce!17401
This commit is contained in:
commit
b19a144730
2 changed files with 12 additions and 1 deletions
|
@ -18,7 +18,14 @@
|
||||||
.email-modal-input-group.input-group
|
.email-modal-input-group.input-group
|
||||||
= text_field_tag :issuable_email, email, class: "monospace js-select-on-focus form-control", readonly: true
|
= text_field_tag :issuable_email, email, class: "monospace js-select-on-focus form-control", readonly: true
|
||||||
.input-group-btn
|
.input-group-btn
|
||||||
= 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')
|
||||||
|
|
||||||
%p
|
%p
|
||||||
= render 'by_email_description'
|
= render 'by_email_description'
|
||||||
%p
|
%p
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
title: Add email button to new issue by email
|
||||||
|
merge_request: 10942
|
||||||
|
author: Islam Wazery
|
Loading…
Reference in a new issue