Merge pull request #182 from corey-hammerton/reports

puppetboard/templates/reports: Passing current_env to the reports_table macro

This fixes https://github.com/puppet-community/puppetboard/issues/181
This commit is contained in:
Corey Hammerton
2015-11-12 19:41:21 -05:00

View File

@@ -1,6 +1,6 @@
{% extends 'layout.html' %} {% extends 'layout.html' %}
{% import '_macros.html' as macros %} {% import '_macros.html' as macros %}
{% block content %} {% block content %}
{{ macros.reports_table(reports, reports_count, report_event_counts, condensed=False, hash_truncate=False, show_conf_col=True, show_agent_col=True, show_host_col=True, show_search_bar=True, searchable=True)}} {{ macros.reports_table(reports, reports_count, report_event_counts, condensed=False, hash_truncate=False, show_conf_col=True, show_agent_col=True, show_host_col=True, show_search_bar=True, searchable=True, current_env=current_env)}}
{{ macros.render_pagination(pagination)}} {{ macros.render_pagination(pagination)}}
{% endblock content %} {% endblock content %}