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
Jérome Perrin
gitlab-ce
Commits
7008ace6
Commit
7008ace6
authored
Aug 30, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4945 from jameswritescode/iid_for_emails
have email views use iid
parents
30b8218f
850b4af0
Changes
23
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
29 additions
and
29 deletions
+29
-29
app/views/notify/closed_issue_email.html.haml
app/views/notify/closed_issue_email.html.haml
+1
-1
app/views/notify/closed_issue_email.text.haml
app/views/notify/closed_issue_email.text.haml
+1
-1
app/views/notify/closed_merge_request_email.html.haml
app/views/notify/closed_merge_request_email.html.haml
+1
-1
app/views/notify/closed_merge_request_email.text.haml
app/views/notify/closed_merge_request_email.text.haml
+1
-1
app/views/notify/issue_status_changed_email.html.haml
app/views/notify/issue_status_changed_email.html.haml
+1
-1
app/views/notify/issue_status_changed_email.text.erb
app/views/notify/issue_status_changed_email.text.erb
+1
-1
app/views/notify/merged_merge_request_email.html.haml
app/views/notify/merged_merge_request_email.html.haml
+1
-1
app/views/notify/merged_merge_request_email.text.haml
app/views/notify/merged_merge_request_email.text.haml
+1
-1
app/views/notify/new_issue_email.html.haml
app/views/notify/new_issue_email.html.haml
+1
-1
app/views/notify/new_issue_email.text.erb
app/views/notify/new_issue_email.text.erb
+2
-2
app/views/notify/new_merge_request_email.html.haml
app/views/notify/new_merge_request_email.html.haml
+1
-1
app/views/notify/new_merge_request_email.text.erb
app/views/notify/new_merge_request_email.text.erb
+1
-1
app/views/notify/new_user_email.text.erb
app/views/notify/new_user_email.text.erb
+1
-1
app/views/notify/note_issue_email.html.haml
app/views/notify/note_issue_email.html.haml
+1
-1
app/views/notify/note_issue_email.text.erb
app/views/notify/note_issue_email.text.erb
+1
-1
app/views/notify/note_merge_request_email.html.haml
app/views/notify/note_merge_request_email.html.haml
+1
-1
app/views/notify/note_merge_request_email.text.erb
app/views/notify/note_merge_request_email.text.erb
+3
-3
app/views/notify/note_wall_email.text.erb
app/views/notify/note_wall_email.text.erb
+1
-1
app/views/notify/project_was_moved_email.text.erb
app/views/notify/project_was_moved_email.text.erb
+2
-2
app/views/notify/reassigned_issue_email.html.haml
app/views/notify/reassigned_issue_email.html.haml
+1
-1
app/views/notify/reassigned_issue_email.text.erb
app/views/notify/reassigned_issue_email.text.erb
+2
-2
app/views/notify/reassigned_merge_request_email.html.haml
app/views/notify/reassigned_merge_request_email.html.haml
+1
-1
app/views/notify/reassigned_merge_request_email.text.erb
app/views/notify/reassigned_merge_request_email.text.erb
+2
-2
No files found.
app/views/notify/closed_issue_email.html.haml
View file @
7008ace6
%p
=
"Issue was closed by
#{
@updated_by
.
name
}
"
%p
=
"Issue #
#{
@issue
.
id
}
"
=
"Issue #
#{
@issue
.
i
i
d
}
"
=
link_to_gfm
truncate
(
@issue
.
title
,
length:
45
),
project_issue_url
(
@issue
.
project
,
@issue
),
title:
@issue
.
title
app/views/notify/closed_issue_email.text.haml
View file @
7008ace6
=
"Issue was closed by
#{
@updated_by
.
name
}
"
Issue ##{@issue.id}:
#{
project_issue_url
(
@issue
.
project
,
@issue
)
}
Issue ##{@issue.i
i
d}:
#{
project_issue_url
(
@issue
.
project
,
@issue
)
}
app/views/notify/closed_merge_request_email.html.haml
View file @
7008ace6
%p
=
"Merge Request
#{
@merge_request
.
id
}
was closed by
#{
@updated_by
.
name
}
"
=
"Merge Request
#{
@merge_request
.
i
i
d
}
was closed by
#{
@updated_by
.
name
}
"
%p
=
link_to_gfm
truncate
(
@merge_request
.
title
,
length:
40
),
project_merge_request_url
(
@merge_request
.
target_project
,
@merge_request
)
%p
...
...
app/views/notify/closed_merge_request_email.text.haml
View file @
7008ace6
=
"Merge Request
#{
@merge_request
.
id
}
was closed by
#{
@updated_by
.
name
}
"
=
"Merge Request
#{
@merge_request
.
i
i
d
}
was closed by
#{
@updated_by
.
name
}
"
Merge Request url:
#{
project_merge_request_url
(
@merge_request
.
target_project
,
@merge_request
)
}
...
...
app/views/notify/issue_status_changed_email.html.haml
View file @
7008ace6
%p
=
"Issue was
#{
@issue_status
}
by
#{
@updated_by
.
name
}
"
%p
=
"Issue #
#{
@issue
.
id
}
"
=
"Issue #
#{
@issue
.
i
i
d
}
"
=
link_to_gfm
truncate
(
@issue
.
title
,
length:
45
),
project_issue_url
(
@issue
.
project
,
@issue
),
title:
@issue
.
title
app/views/notify/issue_status_changed_email.text.erb
View file @
7008ace6
Issue was
<%=
@issue_status
%>
by
<%=
@updated_by
.
name
%>
Issue
<%=
@issue
.
id
%>
:
<%=
url_for
(
project_issue_url
(
@issue
.
project
,
@issue
))
%>
Issue
<%=
@issue
.
i
i
d
%>
:
<%=
url_for
(
project_issue_url
(
@issue
.
project
,
@issue
))
%>
app/views/notify/merged_merge_request_email.html.haml
View file @
7008ace6
%p
=
"Merge Request
#{
@merge_request
.
id
}
was merged"
=
"Merge Request
#{
@merge_request
.
i
i
d
}
was merged"
%p
=
link_to_gfm
truncate
(
@merge_request
.
title
,
length:
40
),
project_merge_request_url
(
@merge_request
.
target_project
,
@merge_request
)
%p
...
...
app/views/notify/merged_merge_request_email.text.haml
View file @
7008ace6
=
"Merge Request
#{
@merge_request
.
id
}
was merged"
=
"Merge Request
#{
@merge_request
.
i
i
d
}
was merged"
Merge Request Url:
#{
project_merge_request_url
(
@merge_request
.
target_project
,
@merge_request
)
}
...
...
app/views/notify/new_issue_email.html.haml
View file @
7008ace6
%p
New Issue was created.
%p
=
"Issue #
#{
@issue
.
id
}
"
=
"Issue #
#{
@issue
.
i
i
d
}
"
=
link_to_gfm
truncate
(
@issue
.
title
,
length:
45
),
project_issue_url
(
@issue
.
project
,
@issue
),
title:
@issue
.
title
%p
Author:
#{
@issue
.
author_name
}
...
...
app/views/notify/new_issue_email.text.erb
View file @
7008ace6
New Issue was created.
Issue
<%=
@issue
.
id
%>
:
<%=
url_for
(
project_issue_url
(
@issue
.
project
,
@issue
))
%>
Issue
<%=
@issue
.
i
i
d
%>
:
<%=
url_for
(
project_issue_url
(
@issue
.
project
,
@issue
))
%>
Author:
<%=
@issue
.
author_name
%>
Asignee:
<%=
@issue
.
assignee_name
%>
app/views/notify/new_merge_request_email.html.haml
View file @
7008ace6
%p
=
"New Merge Request !
#{
@merge_request
.
id
}
"
=
"New Merge Request !
#{
@merge_request
.
i
i
d
}
"
%p
=
link_to_gfm
truncate
(
@merge_request
.
title
,
length:
40
),
project_merge_request_url
(
@merge_request
.
target_project
,
@merge_request
)
%p
...
...
app/views/notify/new_merge_request_email.text.erb
View file @
7008ace6
New Merge Request
<%=
@merge_request
.
id
%>
New Merge Request
<%=
@merge_request
.
i
i
d
%>
<%=
url_for
(
project_merge_request_url
(
@merge_request
.
target_project
,
@merge_request
))
%>
...
...
app/views/notify/new_user_email.text.erb
View file @
7008ace6
...
...
@@ -5,7 +5,7 @@ The Administrator created an account for you. Now you are a member of the compan
login..................
<%=
@user
.
email
%>
<%
if
@user
.
created_by_id
%>
password...............
<%=
@password
%>
You will be forced to change this password immediately after login.
<%
end
%>
...
...
app/views/notify/note_issue_email.html.haml
View file @
7008ace6
%p
=
"New comment for Issue #
#{
@issue
.
id
}
"
=
"New comment for Issue #
#{
@issue
.
i
i
d
}
"
=
link_to_gfm
truncate
(
@issue
.
title
,
length:
35
),
project_issue_url
(
@issue
.
project
,
@issue
,
anchor:
"note_
#{
@note
.
id
}
"
)
=
render
'note_message'
app/views/notify/note_issue_email.text.erb
View file @
7008ace6
New comment for Issue
<%=
@issue
.
id
%>
New comment for Issue
<%=
@issue
.
i
i
d
%>
<%=
url_for
(
project_issue_url
(
@issue
.
project
,
@issue
,
anchor:
"note_
#{
@note
.
id
}
"
))
%>
...
...
app/views/notify/note_merge_request_email.html.haml
View file @
7008ace6
...
...
@@ -3,6 +3,6 @@
=
link_to
"New comment on diff"
,
diffs_project_merge_request_url
(
@merge_request
.
target_project
,
@merge_request
,
anchor:
"note_
#{
@note
.
id
}
"
)
-
else
=
link_to
"New comment"
,
project_merge_request_url
(
@merge_request
.
target_project
,
@merge_request
,
anchor:
"note_
#{
@note
.
id
}
"
)
for Merge Request ##{@merge_request.id}
for Merge Request ##{@merge_request.i
i
d}
%cite
"
#{
truncate
(
@merge_request
.
title
,
length:
20
)
}
"
=
render
'note_message'
app/views/notify/note_merge_request_email.text.erb
View file @
7008ace6
New comment for Merge Request
<%=
@merge_request
.
id
%>
New comment for Merge Request
<%=
@merge_request
.
i
i
d
%>
<%=
url_for
(
project_merge_request_url
(
@merge_request
.
target_project
,
@merge_request
,
anchor:
"note_
#{
@note
.
id
}
"
))
%>
<%=
@note
.
author_name
%>
<%=
@note
.
note
%>
app/views/notify/note_wall_email.text.erb
View file @
7008ace6
New message on the project wall
<%=
@note
.
project
%>
<%=
url_for
(
project_wall_url
(
@note
.
project
,
anchor:
"note_
#{
@note
.
id
}
"
))
%>
<%=
@note
.
author_name
%>
...
...
app/views/notify/project_was_moved_email.text.erb
View file @
7008ace6
Project was moved to another location
The project is now located under
<%=
project_url
(
@project
)
%>
To update the remote url in your local repository run:
git remote set-url origin
<%=
@project
.
ssh_url_to_repo
%>
app/views/notify/reassigned_issue_email.html.haml
View file @
7008ace6
%p
=
"Reassigned Issue #
#{
@issue
.
id
}
"
=
"Reassigned Issue #
#{
@issue
.
i
i
d
}
"
=
link_to_gfm
truncate
(
@issue
.
title
,
length:
30
),
project_issue_url
(
@issue
.
project
,
@issue
)
%p
Assignee changed
...
...
app/views/notify/reassigned_issue_email.text.erb
View file @
7008ace6
Reassigned Issue
<%=
@issue
.
id
%>
Reassigned Issue
<%=
@issue
.
i
i
d
%>
<%=
url_for
(
project_issue_url
(
@issue
.
project
,
@issue
))
%>
Assignee changed
<%=
"from
#{
@previous_assignee
.
name
}
"
if
@previous_assignee
%>
to
<%=
@issue
.
assignee_name
%>
app/views/notify/reassigned_merge_request_email.html.haml
View file @
7008ace6
%p
=
"Reassigned Merge Request !
#{
@merge_request
.
id
}
"
=
"Reassigned Merge Request !
#{
@merge_request
.
i
i
d
}
"
=
link_to_gfm
truncate
(
@merge_request
.
title
,
length:
30
),
project_merge_request_url
(
@merge_request
.
target_project
,
@merge_request
)
%p
Assignee changed
...
...
app/views/notify/reassigned_merge_request_email.text.erb
View file @
7008ace6
Reassigned Merge Request
<%=
@merge_request
.
id
%>
Reassigned Merge Request
<%=
@merge_request
.
i
i
d
%>
<%=
url_for
(
project_merge_request_url
(
@merge_request
.
target_project
,
@merge_request
))
%>
Assignee changed
<%=
"from
#{
@previous_assignee
.
name
}
"
if
@previous_assignee
%>
to
<%=
@merge_request
.
assignee_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