Fix displaying events for deleted things
This commit is contained in:
parent
baf94bd732
commit
19560a4b5f
2 changed files with 9 additions and 3 deletions
|
@ -1,7 +1,13 @@
|
|||
.event-title
|
||||
%span.author_name= link_to_author event
|
||||
%span.event_label{class: event.action_name}= event_action_name(event)
|
||||
= link_to [event.project, event.target] do
|
||||
- if event.target
|
||||
= link_to [event.project, event.target] do
|
||||
%strong= truncate event.target_title
|
||||
- else
|
||||
%strong= truncate event.target_title
|
||||
at
|
||||
= link_to_project event.project
|
||||
- if event.project
|
||||
= link_to_project event.project
|
||||
- else
|
||||
= event.project_name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue