Commit f47b7374 authored by Douwe Maan's avatar Douwe Maan

Change discussion headline to 'a now outdated portion of the diff'

parent d65d245e
...@@ -30,11 +30,10 @@ ...@@ -30,11 +30,10 @@
- else - else
a deleted commit a deleted commit
- else - else
- unless discussion.active?
a now outdated portion of
= conditional_link_to url.present?, url do = conditional_link_to url.present?, url do
- if discussion.active? the diff
the diff
- else
an outdated diff
= time_ago_with_tooltip(discussion.created_at, placement: "bottom", html_class: "note-created-ago") = time_ago_with_tooltip(discussion.created_at, placement: "bottom", html_class: "note-created-ago")
= render "discussions/headline", discussion: discussion = render "discussions/headline", discussion: discussion
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment