mirror of
https://github.com/FOSSBilling/FOSSBilling.git
synced 2026-11-30 04:07:07 +09:00
Fixes for 2 code quality findings in admin_default theme (#3938)
* Apply suggested fix to src/themes/admin_default/html/mod_index_dashboard.html.twig from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> * Apply suggested fix to src/themes/admin_default/html/mod_index_dashboard.html.twig from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
b1195d4b5d
commit
76aebab95a
1 file changed
+2
-2
@@ -413,7 +413,7 @@
|
||||
</tr>
|
||||
{% else %}
|
||||
<tr>
|
||||
<td class="text-muted" colspan="4">{{ 'The list is empty'|trans }}</td>
|
||||
<td class="text-muted" colspan="3">{{ 'The list is empty'|trans }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
@@ -487,7 +487,7 @@
|
||||
label: "{{ 'Income'|trans }}",
|
||||
height: 112,
|
||||
valueFormat: 'currency',
|
||||
currency: "{{ currency.code ?: default_currency }}",
|
||||
currency: "{{ currency.code|default('USD') }}",
|
||||
}],
|
||||
['chart-orders', {{ admin.stats_get_orders({ 'date_from': request.date_from, 'date_to': request.date_to })|json_encode }}, {
|
||||
label: "{{ 'Orders'|trans }}",
|
||||
|
||||
Reference in new issue
Block a user