|
|
@@ -85,18 +85,15 @@
|
|
|
<div>
|
|
|
This page is in the trash <i class="icon-trash" aria-hidden="true"></i>.
|
|
|
{% if page.isDeleted() %}
|
|
|
- <br>Deleted by <img src="{{ page.lastUpdateUser|picture }}" class="picture picture-sm img-circle"> {{ page.lastUpdateUser.name }} at {{ page.updatedAt|datetz('Y-m-d H:i:s') }}
|
|
|
+ <br>Deleted by <img src="{{ page.lastUpdateUser|picture }}" class="picture picture-sm rounded-circle"> {{ page.lastUpdateUser.name }} at {{ page.updatedAt|datetz('Y-m-d H:i:s') }}
|
|
|
{% endif %}
|
|
|
</div>
|
|
|
{% if page.isDeleted() and user %}
|
|
|
- <ul class="list-inline">
|
|
|
- <li>
|
|
|
- <button href="#" class="btn btn-default btn-rounded btn-sm" data-target="#putBackPage" data-toggle="modal"><i class="icon-action-undo" aria-hidden="true"></i> {{ t('Put Back') }}</button>
|
|
|
- </li>
|
|
|
- <li>
|
|
|
- <button href="#" class="btn btn-danger btn-rounded btn-sm" {% if !user.canDeleteCompletely(page.creator._id) %} disabled="disabled" {% endif %} data-target="#deletePage" data-toggle="modal"><i class="icon-fire" aria-hidden="true"></i> {{ t('Delete Completely') }}</button>
|
|
|
- </li>
|
|
|
- </ul>{# /.float-right #}
|
|
|
+ <div>
|
|
|
+ <button href="#" class="btn btn-light rounded-pill btn-sm mr-2" data-target="#putBackPage" data-toggle="modal"><i class="icon-action-undo" aria-hidden="true"></i> {{ t('Put Back') }}</button>
|
|
|
+ <button href="#" class="btn btn-danger rounded-pill btn-sm mr-2" {% if !user.canDeleteCompletely(page.creator._id) %} disabled="disabled" {% endif %} data-target="#deletePage" data-toggle="modal"><i class="icon-fire" aria-hidden="true"></i> {{ t('Delete Completely') }}</button>
|
|
|
+ {# /.float-right #}
|
|
|
+ </div>
|
|
|
{% endif %}
|
|
|
</div>
|
|
|
{% endif %}
|