Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
769f137a
Commit
769f137a
authored
Feb 25, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wrap commit message in EmailsOnPush email.
See #1867.
parent
ae70a80f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
app/views/layouts/notify.html.haml
app/views/layouts/notify.html.haml
+3
-0
app/views/notify/repository_push_email.html.haml
app/views/notify/repository_push_email.html.haml
+2
-1
No files found.
app/views/layouts/notify.html.haml
View file @
769f137a
...
@@ -16,6 +16,9 @@
...
@@ -16,6 +16,9 @@
font-size
:
small
;
font-size
:
small
;
color
:
#777
color
:
#777
}
}
pre
.commit-message
{
white-space
:
pre-wrap
;
}
.file-stats
a
{
.file-stats
a
{
text-decoration
:
none
;
text-decoration
:
none
;
}
}
...
...
app/views/notify/repository_push_email.html.haml
View file @
769f137a
...
@@ -9,7 +9,8 @@
...
@@ -9,7 +9,8 @@
%div
%div
%span
by
#{
commit
.
author_name
}
%span
by
#{
commit
.
author_name
}
%i
at
#{
commit
.
committed_date
.
strftime
(
"%Y-%m-%dT%H:%M:%SZ"
)
}
%i
at
#{
commit
.
committed_date
.
strftime
(
"%Y-%m-%dT%H:%M:%SZ"
)
}
%pre
#{
commit
.
safe_message
}
%pre
.commit-message
=
commit
.
safe_message
%h4
#{
pluralize
@diffs
.
count
,
"changed file"
}
:
%h4
#{
pluralize
@diffs
.
count
,
"changed file"
}
:
...
...
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