fact: Add the counter back to facts.
Since we're now already consuming the generator and creating a list we can call lenght on it just fine. Closes #18
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{% extends 'layout.html' %}
|
||||
{% import '_macros.html' as macros %}
|
||||
{% block content %}
|
||||
<h1>{{name}}{% if value %}/{{value}}{% endif %}</h1>
|
||||
<h1>{{name}}{% if value %}/{{value}}{% endif %} ({{facts|length}})</h1>
|
||||
{{macros.facts_graph(facts, autofocus=True, show_node=True, margin_bottom=10)}}
|
||||
{{macros.facts_graph_value(facts, autofocus=True, show_node=True, margin_bottom=10)}}
|
||||
{% if value %}
|
||||
|
||||
Reference in New Issue
Block a user