Commit f1dfc27c authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Replace project with namespace for events

parent f4d9059b
......@@ -6,7 +6,7 @@
= link_to project_commits_path(event.project, event.ref_name) do
%strong= truncate(event.ref_name, length: 28)
at
%strong= link_to event.project.name, event.project
%strong= link_to_project event.project
%span
= time_ago_in_words(event.created_at)
ago.
......
......@@ -7,7 +7,7 @@
= link_to project_commits_path(event.project, event.ref_name) do
%strong= event.ref_name
at
%strong= link_to event.project.name, event.project
%strong= link_to_project event.project
- if event.push_with_commits?
- project = event.project
......
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