Fixed: [budget] in admin list, show pagination and kind in resource_kind and charge_kind pages

This commit is contained in:
Julien Fastré 2023-02-09 18:18:30 +01:00
parent 2d013e110a
commit 25cbb528ec
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
2 changed files with 12 additions and 2 deletions

View File

@ -19,7 +19,10 @@
{% for entity in entities %} {% for entity in entities %}
<tr> <tr>
<td>{{ entity.ordering }}</td> <td>{{ entity.ordering }}</td>
<td>{{ entity|chill_entity_render_box }}</td> <td>
{{ entity|chill_entity_render_box }}<br/>
<strong>{{ 'budget.admin.form.Charge_kind_key'|trans }}&nbsp;:</strong> <code>{{ entity.kind }}</code>
</td>
<td style="text-align:center;"> <td style="text-align:center;">
{%- if entity.isActive -%} {%- if entity.isActive -%}
<i class="fa fa-check-square-o"></i> <i class="fa fa-check-square-o"></i>
@ -39,6 +42,8 @@
</tbody> </tbody>
</table> </table>
{{ chill_pagination(paginator) }}
<ul class="record_actions sticky-form-buttons"> <ul class="record_actions sticky-form-buttons">
<li> <li>
<a href="{{ path('chill_crud_charge_kind_new') }}" class="btn btn-create"> <a href="{{ path('chill_crud_charge_kind_new') }}" class="btn btn-create">

View File

@ -19,7 +19,10 @@
{% for entity in entities %} {% for entity in entities %}
<tr> <tr>
<td>{{ entity.ordering }}</td> <td>{{ entity.ordering }}</td>
<td>{{ entity|chill_entity_render_box }}</td> <td>
{{ entity|chill_entity_render_box }}<br/>
<strong>{{ 'budget.admin.form.Resource_kind_key'|trans }}&nbsp;:</strong> <code>{{ entity.kind }}</code>
</td>
<td style="text-align:center;"> <td style="text-align:center;">
{%- if entity.isActive -%} {%- if entity.isActive -%}
<i class="fa fa-check-square-o"></i> <i class="fa fa-check-square-o"></i>
@ -39,6 +42,8 @@
</tbody> </tbody>
</table> </table>
{{ chill_pagination(paginator) }}
<ul class="record_actions sticky-form-buttons"> <ul class="record_actions sticky-form-buttons">
<li> <li>
<a href="{{ path('chill_crud_resource_kind_new') }}" class="btn btn-create"> <a href="{{ path('chill_crud_resource_kind_new') }}" class="btn btn-create">