This fixes #258 URL quoting is now done in pypuppetdb >= 0.2.3 which contributed to the metric URL being double-quoted by the time it reached PuppetDB, which responds with a 404. Instead using the plain-text name to build the link to metric()
10 lines
230 B
HTML
10 lines
230 B
HTML
{% extends 'layout.html' %}
|
|
{% block content %}
|
|
<h1>Metrics</h1>
|
|
<ul>
|
|
{% for metric in metrics %}
|
|
<li><a href="{{url_for('metric', env=current_env, metric=metric)}}">{{metric}}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endblock content %}
|