summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-07-18 08:02:38 -0700
committerStan Hu <stanhu@gmail.com>2015-07-18 08:02:38 -0700
commit682c0deffe4e1849a2dd5bd61d90aa08e4209681 (patch)
tree133979ffaeb1e6b66b18ff28140c148d792adbcd
parent895d988d55f3eacac45fdc53f1699cae3af6c06d (diff)
downloadgitlab-ce-682c0deffe4e1849a2dd5bd61d90aa08e4209681.tar.gz
Remove redundant last push event if activity feed is set to main page
Closes #2009
-rw-r--r--app/views/projects/show.html.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml
index b90cadfb1e2..769dd68f089 100644
--- a/app/views/projects/show.html.haml
+++ b/app/views/projects/show.html.haml
@@ -6,7 +6,9 @@
= render 'shared/no_ssh'
= render 'shared/no_password'
-= render 'projects/last_push'
+- if prefer_readme?
+ = render 'projects/last_push'
+
= render "home_panel"
.project-stats