From eeb3b540e26592a999fdabe33b68014508d4c9cf Mon Sep 17 00:00:00 2001 From: Kevin Granger Date: Fri, 20 Sep 2013 14:42:09 +0200 Subject: [PATCH] // orders + css highlight / fixed-width --- admin-dev/themes/default/css/admin-theme.css | 12 +- admin-dev/themes/default/css/admin-theme.sass | 12 +- .../controllers/orders/helpers/view/view.tpl | 116 +++++++++++------- 3 files changed, 87 insertions(+), 53 deletions(-) diff --git a/admin-dev/themes/default/css/admin-theme.css b/admin-dev/themes/default/css/admin-theme.css index 9b8b942ba..dba98aeb1 100644 --- a/admin-dev/themes/default/css/admin-theme.css +++ b/admin-dev/themes/default/css/admin-theme.css @@ -8020,27 +8020,27 @@ tr.filter input[type="text"].filter, tr.filter input[type="password"].filter, tr /* line 468, admin-theme.sass */ .fixed-width-xs { - width: 40px; } + width: 40px !important; } /* line 470, admin-theme.sass */ .fixed-width-sm { - width: 80px; } + width: 80px !important; } /* line 472, admin-theme.sass */ .fixed-width-md { - width: 120px; } + width: 120px !important; } /* line 474, admin-theme.sass */ .fixed-width-lg { - width: 160px; } + width: 160px !important; } /* line 476, admin-theme.sass */ .fixed-width-xl { - width: 200px; } + width: 200px !important; } /* line 478, admin-theme.sass */ .fixed-width-xxl { - width: 250px; } + width: 250px !important; } /* line 487, admin-theme.sass */ textarea { diff --git a/admin-dev/themes/default/css/admin-theme.sass b/admin-dev/themes/default/css/admin-theme.sass index 10b70a026..b241deca9 100755 --- a/admin-dev/themes/default/css/admin-theme.sass +++ b/admin-dev/themes/default/css/admin-theme.sass @@ -466,17 +466,17 @@ tr.filter //some helpers to get fixed width .fixed-width-xs - width: 40px + width: 40px!important .fixed-width-sm - width: 80px + width: 80px!important .fixed-width-md - width: 120px + width: 120px!important .fixed-width-lg - width: 160px + width: 160px!important .fixed-width-xl - width: 200px + width: 200px!important .fixed-width-xxl - width: 250px + width: 250px!important // temp fix for latest bootstrap input[type="text"],input[type="search"],input[type="password"], textarea, select diff --git a/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl b/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl index da7dbad48..322b62e3f 100755 --- a/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl +++ b/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl @@ -120,21 +120,31 @@ {l s='Status'} -
- - - + + +
+
+ + +
+
+ +
+
{foreach from=$history item=row key=key} {if ($key == 0)} - + @@ -525,10 +535,10 @@ {/if} -
+
{if !$order->isVirtual()} -
+

@@ -536,59 +546,83 @@ {l s='Shipping address'}

{if $can_edit} -
- - + +
+
+ +
+
+ +
+
{/if} - -
- +
+ {l s='Edit'} - - - + {displayAddressDetail address=$addresses.delivery newLine='
'} + {if $addresses.delivery->other} +
{$addresses.delivery->other}
+ {/if}
- - {displayAddressDetail address=$addresses.delivery newLine='
'} - {if $addresses.delivery->other}
{$addresses.delivery->other}
{/if} +
{/if} -
+ +

{l s='Invoice address'}

- + {if $can_edit} -
- - + +
+
+ +
+
+ +
+
{/if} -
- +
+ {l s='Edit'} + {displayAddressDetail address=$addresses.invoice newLine='
'} + {if $addresses.invoice->other} +
{$addresses.invoice->other}
+ {/if}
- - {displayAddressDetail address=$addresses.invoice newLine='
'} - {if $addresses.invoice->other}
{$addresses.invoice->other}
{/if}
{$row['ostate_name']|stripslashes} {if $row['employee_lastname']}{$row['employee_firstname']|stripslashes} {$row['employee_lastname']|stripslashes}{/if}