Skip to content
Snippets Groups Projects
Commit 3d8f38c6 authored by Romain's avatar Romain
Browse files

[#4821] - Fix some missing iids

parent 77a9b144
No related branches found
No related tags found
2 merge requests!5081fixed command to update init script,!4897[#4821] - Fix some missing iids
Loading
Loading
@@ -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.iid}"))
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.iid}"))
end
 
def note_wall_email(recipient_id, note_id)
Loading
Loading
Loading
Loading
@@ -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.iid}
= link_to_gfm truncate(issue.title, length: 40), [@project, issue]
- if issue.assignee
.pull-right
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment