Replace project with namespace for events

This commit is contained in:
Dmitriy Zaporozhets 2012-12-09 16:03:24 +02:00
parent f4d9059b7e
commit f1dfc27c5d
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@
= link_to project_commits_path(event.project, event.ref_name) do = link_to project_commits_path(event.project, event.ref_name) do
%strong= truncate(event.ref_name, length: 28) %strong= truncate(event.ref_name, length: 28)
at at
%strong= link_to event.project.name, event.project %strong= link_to_project event.project
%span %span
= time_ago_in_words(event.created_at) = time_ago_in_words(event.created_at)
ago. ago.

View file

@ -7,7 +7,7 @@
= 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
%strong= link_to event.project.name, event.project %strong= link_to_project event.project
- if event.push_with_commits? - if event.push_with_commits?
- project = event.project - project = event.project