Commit c1ffee4e65601a42c5d40ec5f3ddddb51a93251f
1 parent
c20af32a
Exists in
master
and in
4 other branches
Fix dicussion headers
Showing
1 changed file
with
6 additions
and
7 deletions
Show diff stats
app/views/notes/_discussion.html.haml
@@ -21,13 +21,12 @@ | @@ -21,13 +21,12 @@ | ||
21 | - else | 21 | - else |
22 | %cite.cgray started a discussion | 22 | %cite.cgray started a discussion |
23 | %div | 23 | %div |
24 | - - if discussion_notes.size > 1 | ||
25 | - - last_note = discussion_notes.last | ||
26 | - last updated by | ||
27 | - = link_to last_note.author_name, project_team_member_path(@project, @project.team_member_by_id(last_note.author)), class: "note-author" | ||
28 | - %span.discussion-last-update | ||
29 | - = time_ago_in_words(last_note.updated_at) | ||
30 | - ago | 24 | + - last_note = discussion_notes.last |
25 | + last updated by | ||
26 | + = link_to last_note.author_name, project_team_member_path(@project, @project.team_member_by_id(last_note.author)), class: "note-author" | ||
27 | + %span.discussion-last-update | ||
28 | + = time_ago_in_words(last_note.updated_at) | ||
29 | + ago | ||
31 | .discussion-body | 30 | .discussion-body |
32 | - if note.for_diff_line? | 31 | - if note.for_diff_line? |
33 | .content | 32 | .content |