[comment] fix creation, deltion, close #131

This commit is contained in:
Rushabh Mehta 2013-05-28 13:09:23 +05:30
parent e05135c8c4
commit 6986fc7ff3
2 changed files with 5 additions and 1 deletions

View File

@ -21,3 +21,7 @@ def execute():
webnotes.delete_doc("DocType", "Question")
webnotes.delete_doc("DocType", "Answer")
webnotes.bean("Style Settings").save()
# update comment delete
webnotes.conn.sql("""update tabDocPerm \
set cancel=1 where parent='Comment' and role='System Manager'""")

View File

@ -41,7 +41,7 @@
</div>
{% if obj.doclist.get({"doctype":"Item Website Specification"}) -%}
<div class="row" style="margin-top: 20px">
<div class="span12">
<div class="col col-lg-12">
<h4>Specifications</h4>
<table class="table table-bordered" style="width: 100%">
{% for d in obj.doclist.get(