Merge pull request #542 from alphagov/previous-weeks

Add a page to show delivery rates week-by-week
This commit is contained in:
Adam Shimali
2016-05-09 10:17:59 +01:00
13 changed files with 170 additions and 35 deletions

View File

@@ -26,7 +26,9 @@
failure_percentage,
danger_zone=False,
failure_link=None,
label_link=None
label_link=None,
show_more_link=None,
show_more_text=''
) %}
<div class="big-number-with-status">
{{ big_number(number, label, label_link) }}
@@ -44,4 +46,7 @@
{% endif %}
</div>
</div>
{% if show_more_link and show_more_text %}
<a href="{{ show_more_link }}" class="big-number-with-status-show-more-link">{{ show_more_text }}</a>
{% endif %}
{% endmacro %}