Commit 9b7ff5b29d10288f61b656a21238e34fcb6fbfff
1 parent
a1e98a8a
Exists in
master
Hide Blog and Tasks tab on project page
Showing
3 changed files
with
4 additions
and
4 deletions
Show diff stats
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
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> | ... | ... |