test markup removed
This commit is contained in:
parent
d8b76abda2
commit
788621bd2b
2 changed files with 16 additions and 17 deletions
|
@ -296,7 +296,7 @@
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
border: 2px solid #87B6EA;
|
border: 2px solid #87B6EA;
|
||||||
padding: 4px 20px;
|
padding: 4px 20px;
|
||||||
width: 125px;
|
min-width: 155px;
|
||||||
/* padding-bottom: 7px; */
|
/* padding-bottom: 7px; */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,23 +27,22 @@
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
|
||||||
<td class="xs-td-inline" data-header="{% trans 'Order Nr.' %}">{{ order.id }}</td>
|
|
||||||
<td class="xs-td-bighalf" data-header="{% trans 'Date' %}">{{ order.created_at | date:"M d, Y" }}</td>
|
|
||||||
<td class="xs-td-smallhalf" data-header="{% trans 'Amount' %}">{{ order.price }}</td>
|
|
||||||
<td data-header="{% trans 'Status' %}">
|
|
||||||
{% if order.approved %}
|
|
||||||
<span class="vm-status-active"><strong>Approved</strong></span>
|
|
||||||
{% else %}
|
|
||||||
<span class="vm-status-failed"><strong>Declined</strong></span>
|
|
||||||
{% endif %}
|
|
||||||
</td>
|
|
||||||
<td class="text-right last-td">
|
|
||||||
<a class="btn btn-order-detail alt-text" href="{% url 'hosting:orders' %}" data-alt="{% trans 'See Invoice' %}">{% trans "View Detail" %}</a>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
{% for order in orders %}
|
{% for order in orders %}
|
||||||
|
<tr>
|
||||||
|
<td class="xs-td-inline" data-header="{% trans 'Order Nr.' %}">{{ order.id }}</td>
|
||||||
|
<td class="xs-td-bighalf" data-header="{% trans 'Date' %}">{{ order.created_at | date:"M d, Y" }}</td>
|
||||||
|
<td class="xs-td-smallhalf" data-header="{% trans 'Amount' %}">{{ order.price }}</td>
|
||||||
|
<td data-header="{% trans 'Status' %}">
|
||||||
|
{% if order.approved %}
|
||||||
|
<span class="vm-status-active"><strong>Approved</strong></span>
|
||||||
|
{% else %}
|
||||||
|
<span class="vm-status-failed"><strong>Declined</strong></span>
|
||||||
|
{% endif %}
|
||||||
|
</td>
|
||||||
|
<td class="text-right last-td">
|
||||||
|
<a class="btn btn-order-detail alt-text" href="{% url 'hosting:orders' %}" data-alt="{% trans 'See Invoice' %}">{% trans "View Detail" %}</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in a new issue