Skip to content
Snippets Groups Projects
Commit d0e8ffbb authored by Phil Hughes's avatar Phil Hughes
Browse files

Uses input field for email address

parent 7964ea1b
No related branches found
No related tags found
1 merge request!3363Implement #3243 New Issue by email
Loading
@@ -108,3 +108,16 @@ form.edit-issue {
Loading
@@ -108,3 +108,16 @@ form.edit-issue {
text-decoration: underline; text-decoration: underline;
} }
} }
.email-modal-input-group {
margin-bottom: 10px;
.form-control {
background-color: $white-light;
}
.btn {
background-color: $background-color;
border: 1px solid $border-gray-light;
}
}
Loading
@@ -8,10 +8,11 @@
Loading
@@ -8,10 +8,11 @@
Create new issue by email Create new issue by email
.modal-body .modal-body
%p %p
Write an email to Write an email to the below email address. (This is a private email address, so keep it secret.)
= succeed "." do .email-modal-input-group.input-group
%a{ href: "mailto:#{email}" }= email = text_field_tag :issue_email, email, class: "monospace js-select-on-focus form-control", readonly: true
(This is a private email address, so keep it secret.) .input-group-btn
= clipboard_button(clipboard_target: '#issue_email')
%p %p
Send an email to this address to create an issue. Send an email to this address to create an issue.
%p %p
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment