Polishin & fixed tree switch
This commit is contained in:
parent
cb59aade4e
commit
eb7bbedb20
11 changed files with 82 additions and 50 deletions
|
@ -1,9 +1,15 @@
|
|||
- if event.new_branch?
|
||||
- if event.new_branch? || event.new_tag?
|
||||
= image_tag gravatar_icon(event.pusher_email), :class => "avatar"
|
||||
%strong #{event.pusher_name}
|
||||
pushed new branch
|
||||
= link_to project_commits_path(event.project, :ref => event.branch_name) do
|
||||
%strong= event.branch_name
|
||||
pushed new
|
||||
- if event.new_tag?
|
||||
tag
|
||||
= link_to project_commits_path(event.project, :ref => event.tag_name) do
|
||||
%strong= event.tag_name
|
||||
- else
|
||||
branch
|
||||
= link_to project_commits_path(event.project, :ref => event.branch_name) do
|
||||
%strong= event.branch_name
|
||||
at
|
||||
%strong= link_to event.project.name, event.project
|
||||
%span.cgray
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue