Add setting to show/hide product image for mobile purchasing/receiving
This commit is contained in:
parent
5b2f4127ea
commit
6fb78c5dde
2 changed files with 12 additions and 7 deletions
|
@ -7,7 +7,7 @@
|
|||
<%def name="page_title()">${h.link_to("Receiving", url('mobile.receiving'))} » ${h.link_to(batch.id_str, url('mobile.receiving.view', uuid=batch.uuid))} » ${master.render_product_key_value(row)}</%def>
|
||||
|
||||
|
||||
<div class="ui-grid-a">
|
||||
<div${' class="ui-grid-a"' if product_image_url else ''|n}>
|
||||
<div class="ui-block-a">
|
||||
% if instance.product:
|
||||
<h3>${instance.brand_name or ""}</h3>
|
||||
|
@ -19,11 +19,11 @@
|
|||
<h3>${instance.description}</h3>
|
||||
% endif
|
||||
</div>
|
||||
<div class="ui-block-b">
|
||||
% if product_image_url:
|
||||
${h.image(product_image_url, "product image")}
|
||||
% endif
|
||||
</div>
|
||||
% if product_image_url:
|
||||
<div class="ui-block-b">
|
||||
${h.image(product_image_url, "product image")}
|
||||
</div>
|
||||
% endif
|
||||
</div>
|
||||
|
||||
<table>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue