mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
Fix action column width
This commit is contained in:
parent
be965e8698
commit
cb0ff88318
@ -28,29 +28,15 @@ h4.family-title {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.budget-table {
|
table.budget-table {
|
||||||
th.charge {
|
|
||||||
background-color: $col_charge;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.budget-table {
|
|
||||||
th.resource {
|
|
||||||
background-color: $col_resource;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.budget-table {
|
|
||||||
th, td {
|
th, td {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
td.column-wide {
|
th.charge { background-color: $col_charge; }
|
||||||
width: 20%;
|
th.resource { background-color: $col_resource; }
|
||||||
}
|
td.column-fixed {
|
||||||
td.column-small {
|
width: 9.5em;
|
||||||
width: 15%;
|
|
||||||
&.right {
|
|
||||||
align-items: right;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -13,25 +13,22 @@
|
|||||||
{% for f in elements %}
|
{% for f in elements %}
|
||||||
{% set total = total + f.amount %}
|
{% set total = total + f.amount %}
|
||||||
<tr>
|
<tr>
|
||||||
<td class="column-wide el-type">
|
<td class="el-type">
|
||||||
<span class="badge-title">
|
{% if f.isResource %}
|
||||||
<span class="title_label title_label_{{ family }}"></span>
|
{{ f.resource.name|localize_translatable_string }}
|
||||||
{% if f.isResource %}
|
{% else %}
|
||||||
<span class="title_action">{{ f.resource.name|localize_translatable_string }}<span>
|
{{ f.charge.name|localize_translatable_string }}
|
||||||
{% else %}
|
{% endif %}
|
||||||
<span class="title_action">{{ f.charge.name|localize_translatable_string }}<span>
|
|
||||||
{% endif %}
|
|
||||||
</span>
|
|
||||||
</td>
|
</td>
|
||||||
<td class="column-small">{{ f.amount|format_currency('EUR') }}</td>
|
<td>{{ f.amount|format_currency('EUR') }}</td>
|
||||||
<td class="column-wide">
|
<td>
|
||||||
{% if f.endDate is not null %}
|
{% if f.endDate is not null %}
|
||||||
{{ f.startDate|format_date('short') ~ ' - ' ~ f.endDate|format_date('short') }}
|
{{ f.startDate|format_date('short') ~ ' - ' ~ f.endDate|format_date('short') }}
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ 'depuis le ' ~ f.startDate|format_date('short') }}
|
{{ 'depuis le ' ~ f.startDate|format_date('short') }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
<td class="column-small">
|
<td class="column-fixed">
|
||||||
<ul class="record_actions">
|
<ul class="record_actions">
|
||||||
{% if is_granted('CHILL_BUDGET_ELEMENT_SEE', f) %}
|
{% if is_granted('CHILL_BUDGET_ELEMENT_SEE', f) %}
|
||||||
<li>
|
<li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user