diff options
author | Robert Speicher <rspeicher@gmail.com> | 2012-09-26 07:33:42 +0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2012-09-27 00:32:25 +0400 |
commit | 86a7864dc78ed9168df889a5994ee7ef80a29476 (patch) | |
tree | 2fd7bcec449444c6c5a52d12340b73d6dfc5c434 /app/views/events | |
parent | b462a133879ca2a202f18f18d8e78a3ffed05c24 (diff) |
Fix various links
Diffstat (limited to 'app/views/events')
-rw-r--r-- | app/views/events/_event_last_push.html.haml | 2 | ||||
-rw-r--r-- | app/views/events/_event_push.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/events/_event_last_push.html.haml b/app/views/events/_event_last_push.html.haml index 81b9994cff5..d70be70c8df 100644 --- a/app/views/events/_event_last_push.html.haml +++ b/app/views/events/_event_last_push.html.haml @@ -4,7 +4,7 @@ = image_tag gravatar_icon(event.author_email), class: "avatar" %span You pushed to = event.ref_type - = link_to project_commits_path(event.project, ref: event.ref_name) do + = 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 diff --git a/app/views/events/_event_push.html.haml b/app/views/events/_event_push.html.haml index 19ac9263563..9b7f10d9dd2 100644 --- a/app/views/events/_event_push.html.haml +++ b/app/views/events/_event_push.html.haml @@ -5,7 +5,7 @@ .event-title %strong.author_name #{event.author_name} %span.event_label.pushed #{event.push_action_name} #{event.ref_type} - = link_to project_commits_path(event.project, ref: event.ref_name) do + = link_to project_commits_path(event.project, event.ref_name) do %strong= event.ref_name at %strong= link_to event.project.name, event.project |