Skip to content

Commit

Permalink
move labels
Browse files Browse the repository at this point in the history
  • Loading branch information
cconard96 committed Apr 24, 2024
1 parent b33143f commit e52a25e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions front/stat.graph.php
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,7 @@
'php_self' => $_SERVER['PHP_SELF'],
'cleantarget' => $cleantarget,
'prev' => $prev,
'prev_label' => __('Previous'),
'next' => $next,
'next_label' => __('Next'),
'title' => $title,
]);

Expand Down
4 changes: 2 additions & 2 deletions templates/pages/assistance/stats/single_item_pager.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
<div class="text-center mx-auto p-1 mb-2" style="background-color: var(--tblr-bg-surface); width: fit-content">
{% if prev > 0 %}
<div class="d-inline-block">
<a href="{{ php_self }}?{{ cleantarget }}&date1={{ _request['date1'] }}&date2={{ _request['date2'] }}&id={{ prev }}" title="{{ prev_label }}">
<a href="{{ php_self }}?{{ cleantarget }}&date1={{ _request['date1'] }}&date2={{ _request['date2'] }}&id={{ prev }}" title="{{ __('Previous') }}">
<i class="ti ti-chevron-left"></i>
</a>
</div>
{% endif %}
<div class="d-inline-block" style="width: 400px">{{ title|raw }}</div>
{% if next > 0 %}
<div class="d-inline-block">
<a href="{{ php_self }}?{{ cleantarget }}&date1={{ _request['date1'] }}&date2={{ _request['date2'] }}&id={{ next }}" title="{{ next_label }}">
<a href="{{ php_self }}?{{ cleantarget }}&date1={{ _request['date1'] }}&date2={{ _request['date2'] }}&id={{ next }}" title="{{ __('Next') }}">
<i class="ti ti-chevron-right"></i>
</a>
</div>
Expand Down

0 comments on commit e52a25e

Please sign in to comment.