Support multiple params when rendering graph view (#10127)

This commit is contained in:
CirnoT
2019-04-30 05:03:06 +02:00
committed by Tony Murray
parent 125e8ec8e8
commit 735a81c887
2 changed files with 10 additions and 9 deletions

View File

@@ -1,9 +1,9 @@
<div class="dashboard-graph">
<a href="graphs/{{ $param }}/type={{ $graph_type }}/from={{ $from }}">
<a href="graphs/{{ implode($params, '/') }}/type={{ $graph_type }}/from={{ $from }}">
<img class="minigraph-image"
width="{{ $dimensions['x'] }}"
height="{{ $dimensions['y'] }}"
src="graph.php?{{ $param }}&from={{ $from }}&to={{ $to }}&width={{ $dimensions['x'] }}&height={{ $dimensions['y'] }}&type={{ $graph_type }}&legend={{ $graph_legend }}&absolute=1"
src="graph.php?{{ implode($params, '&') }}&from={{ $from }}&to={{ $to }}&width={{ $dimensions['x'] }}&height={{ $dimensions['y'] }}&type={{ $graph_type }}&legend={{ $graph_legend }}&absolute=1"
/>
</a>
</div>