Skip to content

Commit

Permalink
Merge branch 'release/3.4.0.15'
Browse files Browse the repository at this point in the history
  • Loading branch information
tarunbhardwaj committed Apr 20, 2015
2 parents af43e56 + 28751c5 commit 4e5fcfc
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 20 deletions.
13 changes: 0 additions & 13 deletions static/css/style.css
Expand Up @@ -647,11 +647,6 @@ li.google-plus a:hover, li.google a:active{
padding: 10px 0 10px 20px !important;

}
.filter-by{
margin-bottom: -34px;
float: right;
margin-right: 20px;
}
@media(max-width: 768px){
.modal-dialog{
width: 100%;
Expand All @@ -662,11 +657,6 @@ li.google-plus a:hover, li.google a:active{
.no-pad-xs{
padding: 0;
}
.filter-by{
margin-bottom: 0;
float: none;
margin-right: 0;
}
}


Expand Down Expand Up @@ -1793,7 +1783,4 @@ h3.product-item-name{
}
.margin-auto{
margin: auto;
}
.my-account-order > h4{
margin-top: 0;
}
6 changes: 5 additions & 1 deletion templates/webshop/sale.jinja
Expand Up @@ -19,8 +19,12 @@

{% if not current_user.is_anonymous() %}
{{ account_header(_('My Account / Order #') + sale.reference, 'orders') }}
<div class="col-md-10">
{% else %}
<h4 class="text-center">{{ _('Order #') + sale.reference }}</h4>
<br>
<div class="col-md-12">
{% endif %}
<div class="col-md-10">
<!--My Orders-->
<div class="cart-table">
<div class="row-fluid">
Expand Down
10 changes: 5 additions & 5 deletions templates/webshop/sales.jinja
Expand Up @@ -6,7 +6,7 @@
<!-- My Orders Page starts here -->
<section class="my-account">
<div class="container">
<div class="filter-by">
<div class="filter-by hidden-sm hidden-xs">
<div class="dropdown pull-right">
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown">
{% if request.args.get('filter_by') %}Filtered by {{ request.args.get('filter_by')|title }} orders {% else %} Filter by orders state {% endif %}
Expand All @@ -21,7 +21,7 @@
</div>
</div>
<div class="col-md-12 my-account-order">
{{ account_header(_('My Account '), 'orders') }}
{{ account_header(_('My Account'), 'orders') }}
<!--My Orders-->
{% if sales %}
<div class="col-md-10 no-pad-xs">
Expand Down Expand Up @@ -81,7 +81,7 @@
</div>
</div>
<div class="panel-body">
<div class="col-md-8">
<div class="col-md-8 col-xs-8">
<div class="orderd-products">
{% for line in sale.lines %}
<div class="row margin-bottom-10">
Expand All @@ -90,7 +90,7 @@
<a href="{{ url_for('product.product.render', uri=line.product.uri) }}" class="product-name">{{ line.description }}</a>
</div>
{% else %}
<div class="col-md-6">
<div class="col-md-7 col-xs-8">
<a class="product-name">{{ line.description }}</a>
</div>
{% endif %}
Expand All @@ -101,7 +101,7 @@
{% endfor %}
</div>
</div>
<div class="col-md-4 text-right">
<div class="col-md-4 col-xs-4 text-right">
{% for invoice in sale.invoices %}
{% if invoice.state == "paid" %}
<a href="{{ url_for('account.invoice.download_invoice', active_id=invoice.id) }}" class="text-muted download-invoice">
Expand Down
2 changes: 1 addition & 1 deletion tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
version=3.4.0.14
version=3.4.0.15
depends:
nereid
nereid_cms
Expand Down

0 comments on commit 4e5fcfc

Please sign in to comment.