~ubuntuone-pqm-team/django-preflight/trunk

« back to all changes in this revision

Viewing changes to preflight/templates/preflight/overview.html

  • Committer: Tarmac
  • Author(s): Simon Davy
  • Date: 2013-06-18 14:19:49 UTC
  • mfrom: (27.1.4 django-preflight)
  • Revision ID: tarmac-20130618141949-o0a98f1enocc92r3
[r=nataliabidart,lukasz-czyzykowski,ricardokirkner] - Allow disabling setting dump on overview page.
- Default PREFLIGHT_ENABLE_SETTINGS to False, and improve secret cleansing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
      <li><a href="#{{ application.name|slugify }}">{{ application.name }}</a></li>
17
17
    {% endfor %}
18
18
    <li><a href="#versions">Versions</a></li>
 
19
    {% if settings %}
19
20
    <li><a href="#settings">Settings</a></li>
 
21
    {% endif %}
20
22
    {% if switches %}
21
23
    <li><a href="#switches">Switches</a></li>
22
24
    {% endif %}
72
74
    </tbody>
73
75
  </table>
74
76
 
 
77
  {% if settings %}
75
78
  <a href="#links" style="text-decoration: none;">
76
79
    <h1 id="settings">{% trans "Settings" %}</h1>
77
80
  </a>
82
85
    {% if setting.location %}<dd>Location: {{ setting.location}}</dd>{% endif %}
83
86
  {% endfor %}
84
87
  </dl>
 
88
  {% endif %}
85
89
 
86
90
  {% if switches %}
87
91
  <a href="#links" style="text-decoration: none;">