Log: Highlights product amount

This commit is contained in:
nikolark committed 2012-03-19 20:46:11 +01:00
1 parent b9db82e31f
commit 0cbda8e0c5
3 files changed
+13 -1

No files matched your search

+8
View File
@@ -76,6 +76,14 @@ body {
margin-top:10px; margin-top:10px;
} }
} }
#log {
table {
.amount {
font-size: 2em;
font-weight: bold;
}
}
}
section { section {
margin-bottom:2em; margin-bottom:2em;
} }
+4
View File
@@ -4327,6 +4327,10 @@ body #register #total div h2 {
body #register button { body #register button {
margin-top: 10px; margin-top: 10px;
} }
body #log table .amount {
font-size: 2em;
font-weight: bold;
}
body section { body section {
margin-bottom: 2em; margin-bottom: 2em;
} }
+1 -1
View File
@@ -34,7 +34,7 @@
<td>{{ order.created }}</td> <td>{{ order.created }}</td>
<td>{% if order.customer.get_profile.image %}<img src="{{ order.customer.get_profile.image }}" class="customer" title="{{ order.customer.first_name }} {{ order.customer.last_name|slice:":1"}}" />{% else %}{{ order.customer.first_name }} {{ order.customer.last_name|slice:":1"}}{% endif %}</td> <td>{% if order.customer.get_profile.image %}<img src="{{ order.customer.get_profile.image }}" class="customer" title="{{ order.customer.first_name }} {{ order.customer.last_name|slice:":1"}}" />{% else %}{{ order.customer.first_name }} {{ order.customer.last_name|slice:":1"}}{% endif %}</td>
<td>{% for line in order.orderline_set.all %} <td>{% for line in order.orderline_set.all %}
<span class="bold">{{ line.amount}}</span> <span class="amount">{{ line.amount}}</span>
<a href="#" class="product" title="{{ line.unit_price}} per">{{ line.product }}</a>{% if not forloop.last %},{% endif %} <a href="#" class="product" title="{{ line.unit_price}} per">{{ line.product }}</a>{% if not forloop.last %},{% endif %}
{% endfor %}</td> {% endfor %}</td>
<td>{{ order.order_sum }}</td> <td>{{ order.order_sum }}</td>