BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
d0e8ffbb
Commit
d0e8ffbb
authored
Jul 01, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Uses input field for email address
parent
7964ea1b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
4 deletions
+18
-4
issues.scss
app/assets/stylesheets/pages/issues.scss
+13
-0
_issue_by_email.html.haml
app/views/projects/issues/_issue_by_email.html.haml
+5
-4
No files found.
app/assets/stylesheets/pages/issues.scss
View file @
d0e8ffbb
...
...
@@ -108,3 +108,16 @@ form.edit-issue {
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
;
}
}
app/views/projects/issues/_issue_by_email.html.haml
View file @
d0e8ffbb
...
...
@@ -8,10 +8,11 @@
Create new issue by email
.modal-body
%p
Write an email to
=
succeed
"."
do
%a
{
href:
"mailto:#{email}"
}=
email
(This is a private email address, so keep it secret.)
Write an email to the below email address. (This is a private email address, so keep it secret.)
.email-modal-input-group.input-group
=
text_field_tag
:issue_email
,
email
,
class:
"monospace js-select-on-focus form-control"
,
readonly:
true
.input-group-btn
=
clipboard_button
(
clipboard_target:
'#issue_email'
)
%p
Send an email to this address to create an issue.
%p
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment