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
path: root/app/views
diff options
context:
space:
mode:
authorDrew Blessing <drew@gitlab.com>2016-06-23 17:36:24 +0300
committerDrew Blessing <drew@gitlab.com>2016-07-06 20:58:57 +0300
commit0b34cac1c5f0115b7ea6ed0e1e08b57ee22671cd (patch)
tree994799b4a45124cdb978ee09cb754cf29e50cc8a /app/views
parent71448673264efc8c6e74267295eff81331fd7f0e (diff)
Show last push widget in upstream after push to fork
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/_last_push.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/projects/_last_push.html.haml b/app/views/projects/_last_push.html.haml
index 434d8644b83..3c6b931f41a 100644
--- a/app/views/projects/_last_push.html.haml
+++ b/app/views/projects/_last_push.html.haml
@@ -7,7 +7,9 @@
%span You pushed to
= link_to namespace_project_commits_path(event.project.namespace, event.project, event.ref_name) do
%strong= event.ref_name
- branch
+ - if @project && event.project != @project
+ %span at
+ %strong= link_to_project event.project
#{time_ago_with_tooltip(event.created_at)}
.pull-right