use different arrow for paginated box widget (#1431)
This commit is contained in:
@@ -34,7 +34,7 @@ export default class KimaiPaginatedBoxWidget {
|
||||
|
||||
this.widget.on('click', '.box-tools a', function (event) {
|
||||
event.preventDefault();
|
||||
self.loadPage(jQuery(event.target).attr('href'));
|
||||
self.loadPage(jQuery(event.currentTarget).attr('href'));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -5,7 +5,7 @@
|
||||
"build/runtime.664a9501.js",
|
||||
"build/0.f7fae2b9.js",
|
||||
"build/1.c24a9c6f.js",
|
||||
"build/app.9c136e43.js"
|
||||
"build/app.5e068aae.js"
|
||||
],
|
||||
"css": [
|
||||
"build/app.2bde4971.css"
|
||||
@@ -35,7 +35,7 @@
|
||||
"build/runtime.664a9501.js": "sha384-xNNrNinl64G3nCUrIskgSjU0mUXXCB9lj6XCSInBTwxSKXk8uTMafnLHtdWdIGtd",
|
||||
"build/0.f7fae2b9.js": "sha384-DR5A41RIECdWBd6xODR0b1hvGqcEYUyn9vNPreqK9VOCQWTF6bgxB4RVmqlOKilT",
|
||||
"build/1.c24a9c6f.js": "sha384-JPoKdrVtBemSiVBoAnmSxLML7xXM9zYeuwOPYQv/kLzt/P4cmLY5r9gH8oaGRPFG",
|
||||
"build/app.9c136e43.js": "sha384-TDHR6NK2lj2HSkxfJJsyuODZQgu0+fX+3eDlCbyE+KP80nAHNCuTqubCHvSU5Eg5",
|
||||
"build/app.5e068aae.js": "sha384-xtCkbaBkjnQeu1bW93NWgXB7PfoXEVyeVMtvGmedfylaJMbYYITUU+s0/Yh/dawr",
|
||||
"build/app.2bde4971.css": "sha384-3bVuRNKO8FkMuSAu5Eefo+HJ9WNpiJsrIefh0qSdQsbk+8+MA1zre/NZ/AGrY1M9",
|
||||
"build/2.a47ad919.js": "sha384-1h2P/tsl+bh8qgJd7S9irQHKuns7UATVxeFGLOCH85GPFXfAdRzgzx3nk5MrxzrV",
|
||||
"build/chart.c9943f57.js": "sha384-I57c9DtU3AOG2kzKqIZkIu0hi1aGYHRZ5QG4LKC9+9slzJnAMttPGXoL2cQG3m6y",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"build/1.c24a9c6f.js": "build/1.c24a9c6f.js",
|
||||
"build/2.a47ad919.js": "build/2.a47ad919.js",
|
||||
"build/app.css": "build/app.2bde4971.css",
|
||||
"build/app.js": "build/app.9c136e43.js",
|
||||
"build/app.js": "build/app.5e068aae.js",
|
||||
"build/calendar.css": "build/calendar.ade7bcdf.css",
|
||||
"build/calendar.js": "build/calendar.75c80d8f.js",
|
||||
"build/chart.js": "build/chart.c9943f57.js",
|
||||
|
||||
@@ -46,6 +46,7 @@ final class IconExtension extends AbstractExtension
|
||||
'home' => 'fas fa-home',
|
||||
'invoice' => 'fas fa-file-invoice-dollar',
|
||||
'invoice-template' => 'fas fa-file-signature',
|
||||
'left' => 'fas fa-chevron-left',
|
||||
'list' => 'fas fa-list',
|
||||
'locked' => 'fas fa-lock',
|
||||
'logout' => 'fas fa-sign-out-alt',
|
||||
@@ -69,6 +70,7 @@ final class IconExtension extends AbstractExtension
|
||||
'profile-stats' => 'far fa-chart-bar',
|
||||
'project' => 'fas fa-briefcase',
|
||||
'repeat' => 'fas fa-redo-alt',
|
||||
'right' => 'fas fa-chevron-right',
|
||||
'roles' => 'fas fa-user-shield',
|
||||
'search' => 'fas fa-search',
|
||||
'settings' => 'fas fa-cog',
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
{% else %}
|
||||
{% set nextWeek = nextWeek + 1 %}
|
||||
{% endif %}
|
||||
<li class="prev"><a onclick="destroyChart()" href="{{ path('widgets_working_time_chart', {'year': prevYear, 'week': prevWeek}) }}" rel="prev">← </a></li>
|
||||
<li class="next"><a onclick="destroyChart()" href="{{ path('widgets_working_time_chart', {'year': nextYear, 'week': nextWeek}) }}" rel="next"> →</a></li>
|
||||
<li class="prev"><a onclick="destroyChart()" href="{{ path('widgets_working_time_chart', {'year': prevYear, 'week': prevWeek}) }}" rel="prev"><i class="{{ 'left'|icon }}"></i></a></li>
|
||||
<li class="next"><a onclick="destroyChart()" href="{{ path('widgets_working_time_chart', {'year': nextYear, 'week': nextWeek}) }}" rel="next"><i class="{{ 'right'|icon }}"></i></a></li>
|
||||
</ul>
|
||||
{% endblock %}
|
||||
{% block box_body %}
|
||||
|
||||
Reference in New Issue
Block a user