Skip to content

Commit

Permalink
Delete references to removed hidden project attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrodob committed Aug 7, 2015
1 parent 41fa118 commit c83214c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions templates/projects/_helpers.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,6 @@
<li><strong><i class="icon-time"></i> {{ _('Last Activity') }}</strong>: {{ last_activity}}</li>
<li><strong><i class="icon-cogs"></i> {{ _('Overall progress') }}</strong>: {{ overall_progress | round | int }}% {{ _('completed') }}</li>
<li><strong><i class="icon-tasks"></i> <a href="{{url_for('project.tasks',short_name=project.short_name)}}">{{ _('Tasks') }}</strong></a> ({{ n_tasks }})</li>
{% if not current_user.is_anonymous() %}
<li>{% if project.hidden == 1 %}
<i class="icon icon-eye-close"></i> <strong>{{ _('Hidden') }}</strong>: {{ _('Yes') }}
{% else %}
<i class="icon icon-eye-open"></i> <strong>{{ _('Hidden') }}</strong>: {{ _('No') }}
{% endif %}
</li>
{% endif %}
</ul>
</div>
</div>
Expand Down
1 change: 0 additions & 1 deletion templates/projects/update.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
{{ render_field(form.allow_anonymous_contributors) }}
{{ render_field(form.password) }}
{{ render_field(form.webhook) }}
{{ render_field(form.hidden, tooltip=_('Do you want to hide your project?')) }}
<div class="form-actions">
<button type="submit" name='btn' value="Save the changes" class="btn btn-primary">{{_('Save te changes')}}</button>
<a href="{{url_for('project.settings', short_name=project.short_name)}}" class="btn">{{_('Cancel')}}</a>
Expand Down

0 comments on commit c83214c

Please sign in to comment.