Overview
Comment: | Fix style error when there are multiple |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA3-256: |
b081324a0ec29b83af0d9f1e5c402140 |
User & Date: | bohwaz on 2023-04-27 22:20:59 |
Other Links: | manifest | tags |
Context
2023-04-28
| ||
12:23 | Fix undefined variable check-in: b21e6a4e20 user: bohwaz tags: trunk, stable | |
2023-04-27
| ||
22:20 |
Fix style error when there are multiple | |
19:09 | Add running sum column in projects journals, from a patch by @zou check-in: d9c7780f41 user: bohwaz tags: trunk, stable | |
Changes
Modified src/templates/acc/transactions/details.tpl from [0c4ba3b697] to [9f91db3d06].
︙ | ︙ | |||
87 88 89 90 91 92 93 | <dd><a class="num" href="?id={$transaction.id_related}">#{$transaction.id_related}</a> {if $transaction.type == $transaction::TYPE_DEBT || $transaction.type == $transaction::TYPE_CREDIT}(en règlement de){/if} </dd> {/if} {if count($related_transactions)} <dt>Écritures liées</dt> | > > | | | > > | 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | <dd><a class="num" href="?id={$transaction.id_related}">#{$transaction.id_related}</a> {if $transaction.type == $transaction::TYPE_DEBT || $transaction.type == $transaction::TYPE_CREDIT}(en règlement de){/if} </dd> {/if} {if count($related_transactions)} <dt>Écritures liées</dt> <dd> <ul class="flat"> {foreach from=$related_transactions item="related"} <li><a href="?id={$related.id}" class="num">#{$related.id}</a> — {$related.label} — {$related.date|date_short}</li> {/foreach} </ul> </dd> {/if} <dt>Date</dt> <dd>{$transaction.date|date:'l j F Y (d/m/Y)'}</dd> <dt>Numéro pièce comptable</dt> <dd>{if $transaction.reference}<mark>{$transaction.reference}</mark>{else}—{/if}</dd> |
︙ | ︙ | |||
134 135 136 137 138 139 140 141 | {/if} </dd> <dt>Écriture liée à</dt> {if empty($related_users)} <dd><em>Aucun membre n'est lié à cette écriture.</em></dd> {else} {foreach from=$related_users item="u"} | > > | | > > | 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 | {/if} </dd> <dt>Écriture liée à</dt> {if empty($related_users)} <dd><em>Aucun membre n'est lié à cette écriture.</em></dd> {else} <dd> <ul class="flat"> {foreach from=$related_users item="u"} <li> <a href="{$admin_url}membres/fiche.php?id={$u.id}">{$u.identity}</a> {if $u.id_service_user}— en règlement d'une <a href="{$admin_url}services/user/?id={$u.id}&only={$u.id_service_user}">activité</a>{/if} </li> {/foreach} </ul> </dd> {/if} <dt>Remarques</dt> <dd>{if $transaction.notes}{$transaction.notes|escape|nl2br|linkify_transactions}{else}—{/if}</dd> </dl> {if $transaction.type != $transaction::TYPE_ADVANCED && $simple} |
︙ | ︙ |
Modified src/www/admin/static/styles/02-common.css from [29c59f49df] to [7ff8ad2df2].
︙ | ︙ | |||
326 327 328 329 330 331 332 333 334 335 336 337 338 339 | margin: .2rem .5rem; } dl.describe ul { margin-left: 1.5em; list-style-type: disc; } dl.describe mark { background-color: rgba(var(--gSecondColor), 0.3); border-radius: .5em; padding: .1rem .4rem; } | > > > > > > > > > | 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 | margin: .2rem .5rem; } dl.describe ul { margin-left: 1.5em; list-style-type: disc; } dl.describe ul.flat { margin-left: 0; list-style-type: none; } dl.describe ul.flat li { margin-bottom: .2em; } dl.describe mark { background-color: rgba(var(--gSecondColor), 0.3); border-radius: .5em; padding: .1rem .4rem; } |
︙ | ︙ |