From 4a5e769e1b782d9abb8f096f9a4e69c9c3efed09 Mon Sep 17 00:00:00 2001 From: jBreux Date: Fri, 16 Dec 2011 15:18:01 +0000 Subject: [PATCH] // Fix orders view icons --- admin-dev/themes/template/orders/view.tpl | 8 ++++---- css/admin.css | 4 +++- img/admin/note.png | Bin 0 -> 500 bytes js/admin_order.js | 4 +++- 4 files changed, 10 insertions(+), 6 deletions(-) create mode 100755 img/admin/note.png diff --git a/admin-dev/themes/template/orders/view.tpl b/admin-dev/themes/template/orders/view.tpl index 118161dec..341a68352 100755 --- a/admin-dev/themes/template/orders/view.tpl +++ b/admin-dev/themes/template/orders/view.tpl @@ -245,9 +245,9 @@ {*if TYPE DOCUMENT = INVOICE *} {if $document->getRestPaid()} - {l s='Set payment form'} + {l s='Set payment form'} {/if} - {l s='Edit note'} + {if $document->note eq ''}{l s='Add note'}{else}{l s='Edit note'}{/if}note eq ''} class="js-disabled-action"{/if} /> {*/if*} @@ -258,7 +258,7 @@

- +

@@ -283,7 +283,7 @@

- {l s='Payment'} + {l s='Payment'} {if !$order->valid}
diff --git a/css/admin.css b/css/admin.css index 9fba2052d..f27e2e846 100644 --- a/css/admin.css +++ b/css/admin.css @@ -2017,4 +2017,6 @@ div#scrollTop a:hover{ .category-filter #filternameForm { float:left; margin-left:10px; color:#585A69;} -.current-edit { background-color: rgb(232, 237, 194); } \ No newline at end of file +.current-edit { background-color: rgb(232, 237, 194); } + +.edit-note { width: 98%; height: 100px; } \ No newline at end of file diff --git a/img/admin/note.png b/img/admin/note.png new file mode 100755 index 0000000000000000000000000000000000000000..244e6ca045c50a130086ac388b560a12761544b4 GIT binary patch literal 500 zcmV z!-sF!^gVb+8rtpyctW0#N6uWni0LCt_6PoOdbjll_d4>B|?abUmpo8>v>h}Zj|Ya;Eu#qwvU1IVc9khP8VrtAsT2=e83P~$#!xXbw)n}FlPSEe7Hq1uCb zR8w;xqmBrUgA^pnkB=O@-lq0DPz$ay0yh_~I_IDpzxRb(4=Iy9CT||k!08w)Pe>W4 zElmH8fF;68$GMwZ#7{4ozI(ySrR%I+xs4-G1q^UxnUV7rlf9>Rn&_6Wike0000