Don't link to removed ref
This commit is contained in:
parent
c2303737ba
commit
6135eeaa3e
|
@ -5,6 +5,9 @@
|
||||||
.event-title
|
.event-title
|
||||||
%strong.author_name #{event.author_name}
|
%strong.author_name #{event.author_name}
|
||||||
%span.event_label.pushed #{event.push_action_name} #{event.ref_type}
|
%span.event_label.pushed #{event.push_action_name} #{event.ref_type}
|
||||||
|
- if event.rm_ref?
|
||||||
|
%strong= event.ref_name
|
||||||
|
- else
|
||||||
= link_to project_commits_path(event.project, event.ref_name) do
|
= link_to project_commits_path(event.project, event.ref_name) do
|
||||||
%strong= event.ref_name
|
%strong= event.ref_name
|
||||||
at
|
at
|
||||||
|
|
Loading…
Reference in a new issue