Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-27 00:26:41 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-27 00:26:41 +0400
commitc456231690c8fabeeefc844d46c9d5b0403df357 (patch)
treeddb6bdf17416379508816d3d6fe99496f8ae461f /app/views/events/_event_last_push.html.haml
parent7ad5fb53ac4e14b22684a0d4904ccf724fd4e082 (diff)
Use css truncation on dashboard
Diffstat (limited to 'app/views/events/_event_last_push.html.haml')
-rw-r--r--app/views/events/_event_last_push.html.haml13
1 files changed, 7 insertions, 6 deletions
diff --git a/app/views/events/_event_last_push.html.haml b/app/views/events/_event_last_push.html.haml
index 6db05a1a5a6..4c9a39bcc27 100644
--- a/app/views/events/_event_last_push.html.haml
+++ b/app/views/events/_event_last_push.html.haml
@@ -1,11 +1,12 @@
- if show_last_push_widget?(event)
.event-last-push
- %span You pushed to
- = link_to project_commits_path(event.project, event.ref_name) do
- %strong= truncate(event.ref_name, length: 28)
- at
- %strong= link_to_project event.project
- #{time_ago_with_tooltip(event.created_at)}
+ .event-last-push-text
+ %span You pushed to
+ = link_to project_commits_path(event.project, event.ref_name) do
+ %strong= event.ref_name
+ at
+ %strong= link_to_project event.project
+ #{time_ago_with_tooltip(event.created_at)}
.pull-right
= link_to new_mr_path_from_push_event(event), title: "New Merge Request", class: "btn btn-create btn-small" do