diff options
author | Stan Hu <stanhu@gmail.com> | 2015-07-18 08:02:38 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-07-18 08:02:38 -0700 |
commit | 682c0deffe4e1849a2dd5bd61d90aa08e4209681 (patch) | |
tree | 133979ffaeb1e6b66b18ff28140c148d792adbcd /app | |
parent | 895d988d55f3eacac45fdc53f1699cae3af6c06d (diff) | |
download | gitlab-ce-682c0deffe4e1849a2dd5bd61d90aa08e4209681.tar.gz |
Remove redundant last push event if activity feed is set to main page
Closes #2009
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/show.html.haml | 4 |
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 |