debian-mirror-gitlab/app/views/events/_event_last_push.html.haml

15 lines
519 B
Text
Raw Normal View History

2014-09-02 18:07:02 +05:30
- if show_last_push_widget?(event)
.event-last-push
.event-last-push-text
%span You pushed to
2015-04-26 12:48:37 +05:30
= link_to namespace_project_commits_path(event.project.namespace, event.project, event.ref_name) do
2014-09-02 18:07:02 +05:30
%strong= event.ref_name
2015-09-11 14:41:01 +05:30
%span at
2014-09-02 18:07:02 +05:30
%strong= link_to_project event.project
#{time_ago_with_tooltip(event.created_at)}
.pull-right
2015-04-26 12:48:37 +05:30
= link_to new_mr_path_from_push_event(event), title: "New Merge Request", class: "btn btn-create btn-sm" do
2014-09-02 18:07:02 +05:30
Create Merge Request
%hr