modified according to review

bzr revid: rlo@openerp.com-20111222140458-vrbsremb9lgj8r86
This commit is contained in:
Roberto López López (OpenERP)
2011-12-22 15:04:58 +01:00
parent 2d45a0b80c
commit df0457762d
3 changed files with 23 additions and 54 deletions
+3 -23
View File
@@ -1884,20 +1884,8 @@ ul.oe-arrow-list li.oe-arrow-list-selected .oe-arrow-list-after {
}
/* Dialog traceback cases */
.openerp .oe_expandcase {
background: transparent url(/web/static/src/img/expand.gif) 0 50% no-repeat;
margin-top:10px;
}
.openerp .oe_collapsecase {
background: transparent url(/web/static/src/img/collapse.gif) 0 50% no-repeat;
margin-top:10px;
}
.openerp .oe_case_head{
padding-left:18px;
margin-top:5px;
}
.openerp .oe_error_detail{
display:none;
display:block;
}
.openerp .oe_error_send{
display:block;
@@ -1908,18 +1896,10 @@ ul.oe-arrow-list li.oe-arrow-list-selected .oe-arrow-list-after {
}
.openerp .oe_fielddiv{
display:inline-block;
}
.openerp .oe_fielddiv label{
/* width:20%; */
float:left;
text-align:right;
}
.openerp .oe_fielddiv div{
width:79%;
float:right;
width:100%;
}
.openerp .oe_fielddiv input[type=text],textarea{
width:200px;
width:100%;
}
/* for Alignment center */
.openerp .oe_centeralign{
+1 -9
View File
@@ -214,16 +214,8 @@ openerp.web.ServerError = openerp.web.Dialog.extend({
});
if (!self.session.has_pwc) {
$('.oe_error_send').html('<span><a href="http://www.openerp.com/support-or-publisher-warranty-contract" target="_blank">Unsupported/Community Version</a></span>');
$('.oe_error_send').html('<span>You have an unsupported version. <a href="http://www.openerp.com/support-or-publisher-warranty-contract" target="_blank">Click here</a> to get support & maintenance service.</span>');
}
dialog.$element.find('.oe_expandcase').each(function() {
var $this = $(this);
$this.click( function() {
$this.next().toggle().prev().toggleClass("oe_expandcase oe_collapsecase");
});
});
}
});
+19 -22
View File
@@ -1347,33 +1347,30 @@
</t>
<t t-name="DialogTraceback">
<form>
<div class="oe_expandcase">
<span class="oe_case_head"><t t-esc="'Let me fix it'" /></span>
</div>
<div class="oe_error_send">
<div>
<div class="oe_centeralign"><b>OpenERP Enterprise Contract.</b></div>
<div><br/>Your request will be sent to OpenERP and OpenERP Enterprise team will reply you shortly.<br/></div><br/>
<div>
<label>Summary:</label><br/>
<input id="issuename" type="text" class="oe_fielddiv"/>
</div><br/><br/>
<div>
<label>Description:</label><br/>
<textarea id="explanation" rows="6"></textarea>
</div><br/><br/>
<div>
<label>What you did:</label><br/>
<textarea id="remark" rows="6" ></textarea>
</div>
<div align="right"><br/><input type="button" value="Send To OpenERP Enterprise Team" id="button_send_error"/></div>
</div>
</div><br/>
<div class="oe_error_detail oe_error_fix">
<pre><t t-esc="error.message"/></pre>
<hr/>
<pre><t t-esc="error.data.debug"/></pre>
</div>
<div class="oe_error_send">
<div>
<div class="oe_centeralign"><b>OpenERP Enterprise Contract.</b></div>
<div><br/>Your request will be sent to OpenERP and OpenERP Enterprise team will reply you shortly.<br/></div>
<span class="oe_fielddiv">
<label>Summary:</label><br/>
<input id="issuename" type="text"/>
</span><br/><br/>
<div class="oe_fielddiv">
<label>Description:</label><br/>
<textarea id="explanation" rows="6"></textarea>
</div><br/><br/>
<div class="oe_fielddiv">
<label>What you did:</label><br/>
<textarea id="remark" rows="6" ></textarea>
</div>
<div><br/><input type="button" value="Send To OpenERP Enterprise Team" id="button_send_error"/></div>
</div>
</div>
</form>
</t>
<t t-name="SelectCreatePopup">