From 9b7ff5b29d10288f61b656a21238e34fcb6fbfff Mon Sep 17 00:00:00 2001 From: Adabriand Furtado Date: Wed, 12 Oct 2016 19:34:25 -0300 Subject: [PATCH] Hide Blog and Tasks tab on project page --- pybossa/themes/default/static/css/stats/stats.css | 2 +- pybossa/themes/default/static/css/theme.css | 2 -- pybossa/themes/default/templates/projects/_helpers.html | 4 +++- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pybossa/themes/default/static/css/stats/stats.css b/pybossa/themes/default/static/css/stats/stats.css index c3b163d..d4777de 100644 --- a/pybossa/themes/default/static/css/stats/stats.css +++ b/pybossa/themes/default/static/css/stats/stats.css @@ -28,7 +28,7 @@ float: right; font-size: 14px; color: #6C6B6B; - background-image: url(/static/img/info-icon.png); + background-image: url(/pybossa/static/img/info-icon.png); background-repeat: no-repeat; background-position: left center; padding-left:25px; diff --git a/pybossa/themes/default/static/css/theme.css b/pybossa/themes/default/static/css/theme.css index 37db7d2..be7b25b 100644 --- a/pybossa/themes/default/static/css/theme.css +++ b/pybossa/themes/default/static/css/theme.css @@ -162,8 +162,6 @@ h2 { font-size: 1.2em; } .app-call-to-action { - position: relative; - top: 60px; text-align: center; } .app-call-to-action a:link { diff --git a/pybossa/themes/default/templates/projects/_helpers.html b/pybossa/themes/default/templates/projects/_helpers.html index 201aeb4..c02b4ec 100644 --- a/pybossa/themes/default/templates/projects/_helpers.html +++ b/pybossa/themes/default/templates/projects/_helpers.html @@ -47,10 +47,12 @@ -
  • {{_('Tasks')}}
  • {{_('Statistics')}}
  • + {% if ( current_user.is_authenticated() and current_user.id == project.owner_id ) or current_user.admin %} +
  • {{_('Tasks')}}
  • {{_('Settings')}}
  • {% endif %} -- libgit2 0.21.2