Last push widget improved
This commit is contained in:
parent
78af4683b1
commit
b8425cf173
2 changed files with 7 additions and 6 deletions
|
@ -5,12 +5,9 @@
|
|||
%span Your pushed to
|
||||
= event.ref_type
|
||||
= link_to project_commits_path(event.project, :ref => event.ref_name) do
|
||||
%strong= event.ref_name
|
||||
%strong= truncate(event.ref_name, :length => 28)
|
||||
at
|
||||
%strong= link_to event.project.name, event.project
|
||||
%span.cgray
|
||||
= time_ago_in_words(event.created_at)
|
||||
ago.
|
||||
|
||||
= link_to new_mr_path_from_push_event(event), :title => "New Merge Request", :class => "btn very_small primary" do
|
||||
Create Merge Request
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue