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
Léo-Paul Géneau
gitlab-ce
Commits
3d8f38c6
Commit
3d8f38c6
authored
Aug 26, 2013
by
Romain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[#4821] - Fix some missing iids
parent
77a9b144
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/mailers/emails/notes.rb
app/mailers/emails/notes.rb
+2
-2
app/views/projects/milestones/_issues.html.haml
app/views/projects/milestones/_issues.html.haml
+1
-1
No files found.
app/mailers/emails/notes.rb
View file @
3d8f38c6
...
...
@@ -11,14 +11,14 @@ module Emails
@note
=
Note
.
find
(
note_id
)
@issue
=
@note
.
noteable
@project
=
@note
.
project
mail
(
to:
recipient
(
recipient_id
),
subject:
subject
(
"note for issue #
#{
@issue
.
id
}
"
))
mail
(
to:
recipient
(
recipient_id
),
subject:
subject
(
"note for issue #
#{
@issue
.
i
i
d
}
"
))
end
def
note_merge_request_email
(
recipient_id
,
note_id
)
@note
=
Note
.
find
(
note_id
)
@merge_request
=
@note
.
noteable
@project
=
@note
.
project
mail
(
to:
recipient
(
recipient_id
),
subject:
subject
(
"note for merge request !
#{
@merge_request
.
id
}
"
))
mail
(
to:
recipient
(
recipient_id
),
subject:
subject
(
"note for merge request !
#{
@merge_request
.
i
i
d
}
"
))
end
def
note_wall_email
(
recipient_id
,
note_id
)
...
...
app/views/projects/milestones/_issues.html.haml
View file @
3d8f38c6
...
...
@@ -4,7 +4,7 @@
-
issues
.
each
do
|
issue
|
%li
=
link_to
[
@project
,
issue
]
do
%span
.badge
{
class:
issue
.
closed?
?
'badge-important'
:
'badge-info'
}
##{issue.id}
%span
.badge
{
class:
issue
.
closed?
?
'badge-important'
:
'badge-info'
}
##{issue.i
i
d}
=
link_to_gfm
truncate
(
issue
.
title
,
length:
40
),
[
@project
,
issue
]
-
if
issue
.
assignee
.pull-right
...
...
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