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