Skip to content

Commit

Permalink
Added missing table-responsive class
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCartpenter committed Jun 6, 2024
1 parent 9672ab5 commit 6ae8170
Show file tree
Hide file tree
Showing 6 changed files with 440 additions and 433 deletions.
186 changes: 97 additions & 89 deletions upload/admin/view/template/extension/module/recurring_info.twig
Original file line number Diff line number Diff line change
Expand Up @@ -19,32 +19,34 @@
<h3 class="panel-title"><i class="fa fa-list"></i> {{ text_recurring_detail }}</h3>
</div>
<div class="panel-body">
<table class="table table-bordered">
<tr>
<td>{{ text_order_recurring_id }}</td>
<td>{{ order_recurring_id }}</td>
</tr>
<tr>
<td>{{ text_reference }}</td>
<td>{{ reference }}</td>
</tr>
<tr>
<td>{{ text_recurring_name }}</td>
<td>{{ recurring_name }}</td>
</tr>
<tr>
<td>{{ text_recurring_description }}</td>
<td>{{ recurring_description }}</td>
</tr>
<tr>
<td>{{ text_recurring_status }}</td>
<td>{{ recurring_status }}</td>
</tr>
<tr>
<td>{{ text_payment_method }}</td>
<td>{{ payment_method }}</td>
</tr>
</table>
<div class="table-responsive">
<table class="table table-bordered">
<tr>
<td>{{ text_order_recurring_id }}</td>
<td>{{ order_recurring_id }}</td>
</tr>
<tr>
<td>{{ text_reference }}</td>
<td>{{ reference }}</td>
</tr>
<tr>
<td>{{ text_recurring_name }}</td>
<td>{{ recurring_name }}</td>
</tr>
<tr>
<td>{{ text_recurring_description }}</td>
<td>{{ recurring_description }}</td>
</tr>
<tr>
<td>{{ text_recurring_status }}</td>
<td>{{ recurring_status }}</td>
</tr>
<tr>
<td>{{ text_payment_method }}</td>
<td>{{ payment_method }}</td>
</tr>
</table>
</div>
</div>
</div>
</div>
Expand All @@ -54,33 +56,35 @@
<h3 class="panel-title"><i class="fa fa-list"></i> {{ text_order_detail }}</h3>
</div>
<div class="panel-body">
<table class="table table-bordered">
<tr>
<td>{{ text_order_id }}</td>
<td><a href="{{ order }}">{{ order_id }}</a></td>
</tr>
<tr>
<td>{{ text_customer }}</td>
<td>
{% if customer %}
<a href="{{ customer }}">{{ firstname }} {{ lastname }}</a>
{% else %}
{{ firstname }} {{ lastname }}
{% endif %}</td>
</tr>
<tr>
<td>{{ text_email }}</td>
<td>{{ email }}</td>
</tr>
<tr>
<td>{{ text_order_status }}</td>
<td>{{ order_status }}</td>
</tr>
<tr>
<td>{{ text_date_added }}</td>
<td>{{ date_added }}</td>
</tr>
</table>
<div class="table-responsive">
<table class="table table-bordered">
<tr>
<td>{{ text_order_id }}</td>
<td><a href="{{ order }}">{{ order_id }}</a></td>
</tr>
<tr>
<td>{{ text_customer }}</td>
<td>
{% if customer %}
<a href="{{ customer }}">{{ firstname }} {{ lastname }}</a>
{% else %}
{{ firstname }} {{ lastname }}
{% endif %}</td>
</tr>
<tr>
<td>{{ text_email }}</td>
<td>{{ email }}</td>
</tr>
<tr>
<td>{{ text_order_status }}</td>
<td>{{ order_status }}</td>
</tr>
<tr>
<td>{{ text_date_added }}</td>
<td>{{ date_added }}</td>
</tr>
</table>
</div>
</div>
</div>
</div>
Expand All @@ -90,51 +94,55 @@
<h3 class="panel-title"><i class="fa fa-list"></i> {{ text_product_detail }}</h3>
</div>
<div class="panel-body">
<table class="table table-bordered">
<thead>
<tr>
<td>{{ text_product }}</td>
<td>{{ text_quantity }}</td>
</tr>
</thead>
<tbody>
<tr>
<td>{{ product }}</td>
<td>{{ quantity }}</td>
</tr>
</tbody>
</table>
<div class="table-responsive">
<table class="table table-bordered">
<thead>
<tr>
<td>{{ text_product }}</td>
<td>{{ text_quantity }}</td>
</tr>
</thead>
<tbody>
<tr>
<td>{{ product }}</td>
<td>{{ quantity }}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><i class="fa fa-list"></i> {{ text_transaction }}</h3>
</div>
<div class="panel-body"> {{ buttons }}
<table class="table table-bordered">
<thead>
<tr>
<td class="text-left">{{ column_date_added }}</td>
<td class="text-right">{{ column_amount }}</td>
<td class="text-left">{{ column_type }}</td>
</tr>
</thead>
<tbody>
{% if transactions %}
{% for transaction in transactions %}
<div class="table-responsive">
<table class="table table-bordered">
<thead>
<tr>
<td class="text-left">{{ transaction.date_added }}</td>
<td class="text-right">{{ transaction.amount }}</td>
<td class="text-left">{{ transaction.type }}</td>
<td class="text-left">{{ column_date_added }}</td>
<td class="text-right">{{ column_amount }}</td>
<td class="text-left">{{ column_type }}</td>
</tr>
{% endfor %}
{% else %}
<tr>
<td class="text-center" colspan="7">{{ text_no_results }}</td>
</tr>
{% endif %}
</tbody>
</table>
</thead>
<tbody>
{% if transactions %}
{% for transaction in transactions %}
<tr>
<td class="text-left">{{ transaction.date_added }}</td>
<td class="text-right">{{ transaction.amount }}</td>
<td class="text-left">{{ transaction.type }}</td>
</tr>
{% endfor %}
{% else %}
<tr>
<td class="text-center" colspan="7">{{ text_no_results }}</td>
</tr>
{% endif %}
</tbody>
</table>
</div>
</div>
</div>
</div>
Expand Down
60 changes: 29 additions & 31 deletions upload/admin/view/template/extension/other/recurring_info.twig
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<div class="tab-pane active" id="tab-general">
<fieldset>
<legend>{{ text_product }}</legend>
<div class="responsive">
<div class="table-responsive">
<table class="table table-bordered">
<tr>
<td>{{ text_order_recurring_id }}</td>
Expand Down Expand Up @@ -116,35 +116,33 @@
<h3 class="panel-title"><i class="fa fa-list"></i> {{ text_order_detail }}</h3>
</div>
<div class="panel-body">
<div class="responsive">
<table class="table table-bordered">
<tr>
<td>{{ text_order_id }}</td>
<td><a href="{{ order }}">{{ order_id }}</a></td>
</tr>
<tr>
<td>{{ text_customer }}</td>
<td>
{% if customer %}
<a href="{{ customer }}">{{ firstname }} {{ lastname }}</a>
{% else %}
{{ firstname }} {{ lastname }}
{% endif %}</td>
</tr>
<tr>
<td>{{ text_email }}</td>
<td>{{ email }}</td>
</tr>
<tr>
<td>{{ text_order_status }}</td>
<td>{{ order_status }}</td>
</tr>
<tr>
<td>{{ text_date_added }}</td>
<td>{{ date_added }}</td>
</tr>
</table>
</div>
<table class="table table-bordered">
<tr>
<td>{{ text_order_id }}</td>
<td><a href="{{ order }}">{{ order_id }}</a></td>
</tr>
<tr>
<td>{{ text_customer }}</td>
<td>
{% if customer %}
<a href="{{ customer }}">{{ firstname }} {{ lastname }}</a>
{% else %}
{{ firstname }} {{ lastname }}
{% endif %}</td>
</tr>
<tr>
<td>{{ text_email }}</td>
<td>{{ email }}</td>
</tr>
<tr>
<td>{{ text_order_status }}</td>
<td>{{ order_status }}</td>
</tr>
<tr>
<td>{{ text_date_added }}</td>
<td>{{ date_added }}</td>
</tr>
</table>
</div>
</div>
</div>
Expand Down Expand Up @@ -175,7 +173,7 @@
<h3 class="panel-title"><i class="fa fa-list"></i> {{ text_transaction }}</h3>
</div>
<div class="panel-body"> {{ buttons }}
<div class="responsive">
<div class="table-responsive">
<table class="table table-bordered">
<thead>
<tr>
Expand Down
Loading

0 comments on commit 6ae8170

Please sign in to comment.