Merge branch 'master' of github.com:webnotes/erpnext

This commit is contained in:
Nabin Hait 2013-04-01 15:41:49 +05:30
commit f777f7ac43
2 changed files with 22 additions and 19 deletions

View File

@ -1,8 +1,8 @@
[ [
{ {
"creation": "2013-01-23 20:00:16", "creation": "2013-03-28 10:35:29",
"docstatus": 0, "docstatus": 0,
"modified": "2013-03-20 15:09:28", "modified": "2013-04-01 12:06:52",
"modified_by": "Administrator", "modified_by": "Administrator",
"owner": "Administrator" "owner": "Administrator"
}, },
@ -124,6 +124,7 @@
"label": "Description" "label": "Description"
}, },
{ {
"depends_on": "show_in_website",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "item_website_specifications", "fieldname": "item_website_specifications",
"fieldtype": "Table", "fieldtype": "Table",
@ -181,20 +182,6 @@
"no_copy": 1, "no_copy": 1,
"print_hide": 1 "print_hide": 1
}, },
{
"cancel": 1,
"create": 1,
"doctype": "DocPerm",
"role": "System Manager",
"write": 1
},
{
"cancel": 1,
"create": 1,
"doctype": "DocPerm",
"role": "Material Master Manager",
"write": 1
},
{ {
"amend": 0, "amend": 0,
"cancel": 0, "cancel": 0,
@ -210,5 +197,19 @@
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Material User", "role": "Material User",
"write": 0 "write": 0
},
{
"cancel": 1,
"create": 1,
"doctype": "DocPerm",
"role": "System Manager",
"write": 1
},
{
"cancel": 1,
"create": 1,
"doctype": "DocPerm",
"role": "Material Master Manager",
"write": 1
} }
] ]

View File

@ -1,10 +1,12 @@
<div class="span3"> <div class="span3">
<div style="height: 120px; overflow: hidden;"> <div style="height: 120px; overflow: hidden;">
{% if website_image %} <a href="{{ page_name }}">
{%- if website_image -%}
<img class="product-image" style="width: 80%; margin: auto;" src="{{ website_image }}"> <img class="product-image" style="width: 80%; margin: auto;" src="{{ website_image }}">
{% else %} {%- else -%}
{% include 'html/product_missing_image.html' %} {% include 'html/product_missing_image.html' %}
{% endif %} {%- endif -%}
</a>
</div> </div>
<div style="height: 100px; overflow: hidden; font-size: 80%;"> <div style="height: 100px; overflow: hidden; font-size: 80%;">
<h4 style="margin-bottom: 2px;"><a href="{{ page_name }}">{{ item_name }}</a></h4> <h4 style="margin-bottom: 2px;"><a href="{{ page_name }}">{{ item_name }}</a></h4>