Commit b8425cf1 authored by randx's avatar randx

Last push widget improved

parent 78af4683
...@@ -604,7 +604,11 @@ li.note { ...@@ -604,7 +604,11 @@ li.note {
border-style: solid; border-style: solid;
border-width: 1px; border-width: 1px;
@include border-radius(4px); @include border-radius(4px);
min-height:42px; min-height:22px;
.avatar {
width:24px;
}
} }
.supp_diff_link, .supp_diff_link,
...@@ -695,4 +699,4 @@ li.note { ...@@ -695,4 +699,4 @@ li.note {
border:1px solid #B8B; border:1px solid #B8B;
} }
} }
} }
\ No newline at end of file
...@@ -5,12 +5,9 @@ ...@@ -5,12 +5,9 @@
%span Your pushed to %span Your pushed to
= event.ref_type = event.ref_type
= link_to project_commits_path(event.project, :ref => event.ref_name) do = link_to project_commits_path(event.project, :ref => event.ref_name) do
%strong= event.ref_name %strong= truncate(event.ref_name, :length => 28)
at at
%strong= link_to event.project.name, event.project %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 = link_to new_mr_path_from_push_event(event), :title => "New Merge Request", :class => "btn very_small primary" do
Create Merge Request Create Merge Request
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment