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
Kazuhiko Shiozaki
gitlab-ce
Commits
75eacf4d
Commit
75eacf4d
authored
Sep 30, 2014
by
Marin Jankovski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update email templates for email on push service with links to commit and repository.
parent
c20c2c83
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/views/notify/repository_push_email.html.haml
app/views/notify/repository_push_email.html.haml
+2
-2
app/views/notify/repository_push_email.text.haml
app/views/notify/repository_push_email.text.haml
+2
-2
No files found.
app/views/notify/repository_push_email.html.haml
View file @
75eacf4d
%h3
#{
@author
.
name
}
pushed to
#{
@branch
}
at
#{
@project
.
name_with_namespace
}
%h3
#{
@author
.
name
}
pushed to
#{
@branch
}
at
#{
link_to
@project
.
name_with_namespace
,
project_url
(
@project
)
}
%h4
Commits:
%ul
-
@commits
.
each
do
|
commit
|
%li
%strong
#{
commit
.
short_id
}
%strong
#{
link_to
commit
.
short_id
,
project_commit_url
(
@project
,
commit
)
}
%span
by
#{
commit
.
author_name
}
%pre
#{
commit
.
safe_message
}
...
...
app/views/notify/repository_push_email.text.haml
View file @
75eacf4d
#{
@author
.
name
}
pushed to
#{
@branch
}
at
#{
@project
.
name_with_namespace
}
#{
@author
.
name
}
pushed to
#{
@branch
}
at
#{
link_to
@project
.
name_with_namespace
,
project_url
(
@project
)
}
\
Commits:
-
@commits
.
each
do
|
commit
|
#{
commit
.
short_id
}
by
#{
commit
.
author_name
}
#{
link_to
commit
.
short_id
,
project_commit_url
(
@project
,
commit
)
}
by
#{
commit
.
author_name
}
#{
commit
.
safe_message
}
\- - - - -
\
...
...
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