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
Boxiang Sun
gitlab-ce
Commits
1b1c6ebf
Commit
1b1c6ebf
authored
Sep 13, 2016
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the template
parent
98525212
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
app/views/notify/pipeline_failed_email.html.haml
app/views/notify/pipeline_failed_email.html.haml
+1
-2
app/views/notify/pipeline_failed_email.text.erb
app/views/notify/pipeline_failed_email.text.erb
+1
-1
No files found.
app/views/notify/pipeline_failed_email.html.haml
View file @
1b1c6ebf
...
@@ -26,8 +26,7 @@
...
@@ -26,8 +26,7 @@
had
had
=
failed
.
size
=
failed
.
size
failed
failed
=
'job'
.
plural
(
failed
.
size
)
=
'job'
.
pluralize
(
failed
.
size
)
.
-
failed
.
each
do
|
job
|
-
failed
.
each
do
|
job
|
.p
.p
...
...
app/views/notify/pipeline_failed_email.text.erb
View file @
1b1c6ebf
...
@@ -5,7 +5,7 @@ Commit Message: <%= @pipeline.git_commit_message %>
...
@@ -5,7 +5,7 @@ Commit Message: <%= @pipeline.git_commit_message %>
Commit Author:
<%=
@pipeline
.
git_author_name
%>
Commit Author:
<%=
@pipeline
.
git_author_name
%>
Pusher:
<%=
@pipeline
.
user
.
try
(
:name
)
%>
Pusher:
<%=
@pipeline
.
user
.
try
(
:name
)
%>
<%
failed
=
@pipeline
.
statuses
.
latest
.
failed
%>
<%
failed
=
@pipeline
.
statuses
.
latest
.
failed
%>
Pipeline #
<%=
@pipeline
.
id
%>
had
<%=
failed
.
size
%>
failed
<%=
'job'
.
plural
(
failed
.
size
)
%>
.
Pipeline #
<%=
@pipeline
.
id
%>
had
<%=
failed
.
size
%>
failed
<%=
'job'
.
plural
ize
(
failed
.
size
)
%>
.
<%
failed
.
each
do
|
job
|
%>
<%
failed
.
each
do
|
job
|
%>
ID:
<%=
job
.
id
%>
ID:
<%=
job
.
id
%>
...
...
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