diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-10-09 09:27:25 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2012-10-09 09:27:25 +0400 |
commit | 26045d7a2ce7f40becd179aa3b4222e2df8f5426 (patch) | |
tree | 4bcf6486c746928b58f44091943615beaa76b12d /app/views/events | |
parent | a635b9da97b0e104b8ac1a846344ec8a4abd3123 (diff) | |
parent | 93bc1ff10866956f3d6edf60a1b2db280544be04 (diff) |
Merge pull request #1596 from riyad/fix-messages-for-deleted-things
Fix messages for deleted things on dashboard
Diffstat (limited to 'app/views/events')
-rw-r--r-- | app/views/events/event/_push.html.haml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/events/event/_push.html.haml b/app/views/events/event/_push.html.haml index e0c0b614127..869321ed699 100644 --- a/app/views/events/event/_push.html.haml +++ b/app/views/events/event/_push.html.haml @@ -1,8 +1,11 @@ .event-title %span.author_name= link_to_author event %span.event_label.pushed #{event.push_action_name} #{event.ref_type} - = link_to project_commits_path(event.project, event.ref_name) do + - if event.rm_ref? %strong= event.ref_name + - else + = link_to project_commits_path(event.project, event.ref_name) do + %strong= event.ref_name at %strong= link_to event.project.name, event.project |