summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-12-03 19:33:01 +0100
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-12-03 22:51:57 +0100
commitc1ffee4e65601a42c5d40ec5f3ddddb51a93251f (patch)
treef983e67bfb8e44c68cfb2d739bc961603beb05dc
parentc20af32ae4adb1ec891e32ea048ae06ef4c7bc5f (diff)
downloadgitlab-ce-c1ffee4e65601a42c5d40ec5f3ddddb51a93251f.tar.gz
Fix dicussion headers
-rw-r--r--app/views/notes/_discussion.html.haml13
1 files changed, 6 insertions, 7 deletions
diff --git a/app/views/notes/_discussion.html.haml b/app/views/notes/_discussion.html.haml
index 7e9d366e286..031f4477ce3 100644
--- a/app/views/notes/_discussion.html.haml
+++ b/app/views/notes/_discussion.html.haml
@@ -21,13 +21,12 @@
- else
%cite.cgray started a discussion
%div
- - if discussion_notes.size > 1
- - last_note = discussion_notes.last
- last updated by
- = link_to last_note.author_name, project_team_member_path(@project, @project.team_member_by_id(last_note.author)), class: "note-author"
- %span.discussion-last-update
- = time_ago_in_words(last_note.updated_at)
- ago
+ - last_note = discussion_notes.last
+ last updated by
+ = link_to last_note.author_name, project_team_member_path(@project, @project.team_member_by_id(last_note.author)), class: "note-author"
+ %span.discussion-last-update
+ = time_ago_in_words(last_note.updated_at)
+ ago
.discussion-body
- if note.for_diff_line?
.content