|
@@ -84,8 +84,8 @@
|
|
|
<h4 class="box-title"> {{ 'Revisiones efectuadas'|trans({}, 'AuditBundle') }} ({{ data.revisions|length }}): </h4>
|
|
|
</div>
|
|
|
<form action="{{ path('entity_audit_compare_revs', { 'className': data.className, 'id': data.id }) }}" method="get">
|
|
|
- <div style="display:block; height:200px; overflow:auto; margin-bottom:10px">
|
|
|
- <table class="table table-bordered table-striped sonata-ba-list" style="width:100%;margin-top:0px;margin-bottom:0px">
|
|
|
+ <div style="display:block; height:200px; overflow:auto;">
|
|
|
+ <table class="table table-bordered table-striped sonata-ba-list" style="width:100%; margin-top:0px; margin-bottom:0px">
|
|
|
<tbody>
|
|
|
<tr class="filter inactive">
|
|
|
<td class="filter-title" style="width:90px;"><b>{{ 'Revisión'|trans({}, 'AuditBundle') }}</b></td>
|
|
@@ -98,23 +98,30 @@
|
|
|
<tbody>
|
|
|
{% for revision in data.revisions %}
|
|
|
<tr class="filter inactive">
|
|
|
- <td class="filter-value" style="text-align:center;"><a href="{{ path('entity_audit_view_details', { 'className': data.className, 'id': data.id, 'rev': revision.rev }) }}">{{ revision.rev }}</a></td>
|
|
|
+ <td class="filter-value" style="text-align:center;">
|
|
|
+ <a href="{{ path('entity_audit_view_details', { 'className': data.className, 'id': data.id, 'rev': revision.rev }) }}">{{ revision.rev }}</a>
|
|
|
+ </td>
|
|
|
<td class="filter-value">{{ revision.timestamp | date("d/m/Y \\a \\l\\a\\s h:m:s") }}</td>
|
|
|
<td class="filter-value">{{ revision.username|default('(anonymous)') }}</td>
|
|
|
-
|
|
|
- <td class="filter-value" style="text-align:center"><input type="radio" name="oldRev" value="{{ revision.rev }}"{% if loop.index == 2 %} checked="checked"{% endif %} /></td>
|
|
|
- <td class="filter-value" style="text-align:center"><input type="radio" name="newRev" value="{{ revision.rev }}"{% if loop.index == 1 %} checked="checked"{% endif %} /></td>
|
|
|
+ <td class="filter-value" style="text-align:center">
|
|
|
+ <input type="radio" name="oldRev" value="{{ revision.rev }}"{% if loop.index == 2 %} checked="checked"{% endif %} />
|
|
|
+ </td>
|
|
|
+ <td class="filter-value" style="text-align:center">
|
|
|
+ <input type="radio" name="newRev" value="{{ revision.rev }}"{% if loop.index == 1 %} checked="checked"{% endif %} />
|
|
|
+ </td>
|
|
|
</tr>
|
|
|
{% endfor %}
|
|
|
</tbody>
|
|
|
</table>
|
|
|
</div>
|
|
|
- <input class="btn btn-small btn-primary" type="submit" value="{{ 'Comparar'|trans({}, 'AuditBundle') }}" />
|
|
|
- <a class="btn btn-small btn-default" href="{{ path('entity_audit') }}">{{ 'Regresar'|trans({}, 'AuditBundle') }}</a>
|
|
|
+ <div style="width: 100%; min-height: 64px; background-color: #ffffff;">
|
|
|
+ <div style="float: right; padding: 15px;">
|
|
|
+ <input class="btn btn-small btn-primary" type="submit" value="{{ 'Comparar'|trans({}, 'AuditBundle') }}" />
|
|
|
+ <a class="btn btn-small btn-default" href="{{ path('entity_audit') }}">{{ 'Regresar'|trans({}, 'AuditBundle') }}</a>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </form>
|
|
|
-</fieldset>
|
|
|
-{% endblock %}
|
|
|
-
|
|
|
-{% block content %}{% endblock %}
|
|
|
+ </fieldset>
|
|
|
+{% endblock %}
|