Commit 9b7ff5b29d10288f61b656a21238e34fcb6fbfff

Authored by Adabriand Furtado
1 parent a1e98a8a
Exists in master

Hide Blog and Tasks tab on project page

pybossa/themes/default/static/css/stats/stats.css
... ... @@ -28,7 +28,7 @@
28 28 float: right;
29 29 font-size: 14px;
30 30 color: #6C6B6B;
31   - background-image: url(/static/img/info-icon.png);
  31 + background-image: url(/pybossa/static/img/info-icon.png);
32 32 background-repeat: no-repeat;
33 33 background-position: left center;
34 34 padding-left:25px;
... ...
pybossa/themes/default/static/css/theme.css
... ... @@ -162,8 +162,6 @@ h2 {
162 162 font-size: 1.2em;
163 163 }
164 164 .app-call-to-action {
165   - position: relative;
166   - top: 60px;
167 165 text-align: center;
168 166 }
169 167 .app-call-to-action a:link {
... ...
pybossa/themes/default/templates/projects/_helpers.html
... ... @@ -47,10 +47,12 @@
47 47 <!--
48 48 <li role="presentation" {% if active_link=="contribute"%}class="active"{% endif %}><a href="{{url_for('project.presenter', short_name=project.short_name)}}">{{_('Contribute')}}</a></li>
49 49 -->
50   - <li role="presentation" {% if active_link=="tasks"%}class="active"{% endif %}><a href="{{url_for('project.tasks', short_name=project.short_name)}}">{{_('Tasks')}}</a></li>
51 50 <li role="presentation" {% if active_link=="stats"%}class="active"{% endif %}><a href="{{url_for('project.show_stats', short_name=project.short_name)}}">{{_('Statistics')}}</a></li>
  51 + <!--
52 52 <li role="presentation" {% if active_link=="blog"%}class="active"{% endif %}><a href="{{url_for('project.show_blogposts', short_name=project.short_name)}}">{{_('Blog')}}</a></li>
  53 + -->
53 54 {% if ( current_user.is_authenticated() and current_user.id == project.owner_id ) or current_user.admin %}
  55 + <li role="presentation" {% if active_link=="tasks"%}class="active"{% endif %}><a href="{{url_for('project.tasks', short_name=project.short_name)}}">{{_('Tasks')}}</a></li>
54 56 <li role="presentation" {% if active_link=="settings"%}class="active"{% endif %}><a href="{{url_for('project.settings', short_name=project.short_name)}}">{{_('Settings')}}</a></li>
55 57 {% endif %}
56 58 </ul>
... ...