Skip to content

Commit

Permalink
first icon added with webfont for session report
Browse files Browse the repository at this point in the history
  • Loading branch information
Trismegiste committed Mar 14, 2024
1 parent 386079d commit db90dc1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/summary.html.twig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{# Summary on this app #}
{% macro summary_item(route, icon, label) %}
<div class="pure-u-1-2 pure-u-xl-1-4">
<div class="pure-u-1-2 pure-u-xl-1-5">
<a href="{{ path(route) }}">
<i class="icon-{{ icon }}"></i>
<h2>{{ label }}</h2>
Expand All @@ -9,6 +9,7 @@
{% endmacro %}

<section class="pure-g dashboard">
{{ _self.summary_item('app_gamesession_broadcastexport','session-report', 'Rapport session') }}
{{ _self.summary_item('app_vertexcrud_showstats','abacus', stats.vertexCount ~ ' vertex') }}
{{ _self.summary_item('app_vertexcrud_showbroken','unlink', stats.brokenLinkCount ~ ' liens cassés') }}
{{ _self.summary_item('app_picture_showbroken', 'broken-picture', stats.brokenPictureCount~' images manquantes') }}
Expand Down

0 comments on commit db90dc1

Please sign in to comment.