Réalisation finale
This commit is contained in:
14
templates/lock/_lock_info.html.twig
Normal file
14
templates/lock/_lock_info.html.twig
Normal file
@@ -0,0 +1,14 @@
|
||||
<div class="lock-info" id="lock-info-{{ entityType }}-{{ entityId }}">
|
||||
<div class="alert alert-info d-flex align-items-center">
|
||||
<i class="fas fa-lock me-2"></i>
|
||||
<div>
|
||||
<strong>Élément verrouillé</strong>
|
||||
<small class="d-block text-muted">
|
||||
Modifié par {{ lockInfo.userId }} depuis {{ lockInfo.lockedAt }}
|
||||
{% if lockInfo.expiresAt %}
|
||||
- Expire à {{ lockInfo.expiresAt }}
|
||||
{% endif %}
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user