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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
5c36905a
Commit
5c36905a
authored
Oct 12, 2016
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
de-duplicate project namespace markup
parent
16e6431c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
12 deletions
+8
-12
app/views/notify/pipeline_failed_email.html.haml
app/views/notify/pipeline_failed_email.html.haml
+4
-6
app/views/notify/pipeline_success_email.html.haml
app/views/notify/pipeline_success_email.html.haml
+4
-6
No files found.
app/views/notify/pipeline_failed_email.html.haml
View file @
5c36905a
...
@@ -76,12 +76,10 @@
...
@@ -76,12 +76,10 @@
%tr
%tr
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;color:#8c8c8c;font-weight:300;padding:14px 0;margin:0;"
}
Project
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;color:#8c8c8c;font-weight:300;padding:14px 0;margin:0;"
}
Project
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;color:#8c8c8c;font-weight:300;padding:14px 0;margin:0;color:#333333;font-weight:400;width:75%;padding-left:5px;"
}
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;color:#8c8c8c;font-weight:300;padding:14px 0;margin:0;color:#333333;font-weight:400;width:75%;padding-left:5px;"
}
-
if
@project
.
group
-
namespace_name
=
@project
.
group
?
@project
.
group
.
name
:
@project
.
namespace
.
owner
.
name
%a
.muted
{
href:
group_url
(
@project
.
group
),
style:
"color:#333333;text-decoration:none;"
}
-
namespace_url
=
@project
.
group
?
group_url
(
@project
.
group
)
:
user_url
(
@project
.
namespace
.
owner
)
=
@project
.
group
.
name
%a
.muted
{
href:
namespace_url
,
style:
"color:#333333;text-decoration:none;"
}
-
else
=
namespace_name
%a
.muted
{
href:
user_url
(
@project
.
namespace
.
owner
),
style:
"color:#333333;text-decoration:none;"
}
=
@project
.
namespace
.
owner
.
name
\/
\/
%a
.muted
{
href:
project_url
(
@project
),
style:
"color:#333333;text-decoration:none;"
}
%a
.muted
{
href:
project_url
(
@project
),
style:
"color:#333333;text-decoration:none;"
}
=
@project
.
name
=
@project
.
name
...
...
app/views/notify/pipeline_success_email.html.haml
View file @
5c36905a
...
@@ -76,12 +76,10 @@
...
@@ -76,12 +76,10 @@
%tr
%tr
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;color:#8c8c8c;font-weight:300;padding:14px 0;margin:0;"
}
Project
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;color:#8c8c8c;font-weight:300;padding:14px 0;margin:0;"
}
Project
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;color:#8c8c8c;font-weight:300;padding:14px 0;margin:0;color:#333333;font-weight:400;width:75%;padding-left:5px;"
}
%td
{
style:
"font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4;color:#8c8c8c;font-weight:300;padding:14px 0;margin:0;color:#333333;font-weight:400;width:75%;padding-left:5px;"
}
-
if
@project
.
group
-
namespace_name
=
@project
.
group
?
@project
.
group
.
name
:
@project
.
namespace
.
owner
.
name
%a
.muted
{
href:
group_url
(
@project
.
group
),
style:
"color:#333333;text-decoration:none;"
}
-
namespace_url
=
@project
.
group
?
group_url
(
@project
.
group
)
:
user_url
(
@project
.
namespace
.
owner
)
=
@project
.
group
.
name
%a
.muted
{
href:
namespace_url
,
style:
"color:#333333;text-decoration:none;"
}
-
else
=
namespace_name
%a
.muted
{
href:
user_url
(
@project
.
namespace
.
owner
),
style:
"color:#333333;text-decoration:none;"
}
=
@project
.
namespace
.
owner
.
name
\/
\/
%a
.muted
{
href:
project_url
(
@project
),
style:
"color:#333333;text-decoration:none;"
}
%a
.muted
{
href:
project_url
(
@project
),
style:
"color:#333333;text-decoration:none;"
}
=
@project
.
name
=
@project
.
name
...
...
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