diff options
| author | Antony Lesuisse <al@openerp.com> | 2011-12-15 19:43:05 +0100 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2011-12-15 19:43:05 +0100 |
| commit | 2fd2f299b40a03044e5700509f18ae2ac2c0afce (patch) | |
| tree | 67d8b4faa981df4b308bcf6261095c0f898fc77a /addons/web/static/src/xml | |
| parent | 4206e4d2627be8ca252fdfce2f90654ff9db0055 (diff) | |
| parent | 72e820765fccc9227c8b684e3d42f6344756cffc (diff) | |
[MERGE] trunk
bzr revid: al@openerp.com-20111215184305-3yxw54l91psrz5d6
Diffstat (limited to 'addons/web/static/src/xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index a880293403d..ff21856aeff 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -567,7 +567,7 @@ </tr> <table t-name="ListView" class="oe-listview-content"> - <t t-set="columns_count" t-value="visible_columns.length + (options.selectable ? 1 : 0) + (options.deletable ? 1 : 0)"/> + <t t-set="columns_count" t-value="visible_columns.length + (options.selectable ? 1 : 0) + (options.deletable ? 1 : 0) + (options.isClarkGable ? 1 : 0)"/> <thead class="ui-widget-header"> <tr t-if="options.action_buttons !== false or options.pager !== false"> <th t-att-colspan="columns_count"> @@ -596,6 +596,7 @@ </t> <th t-if="options.selectable" width="1" > <input type="checkbox" class="all-record-selector"/> </th> + <th t-if="options.isClarkGable" width="1"> </th> <t t-foreach="columns" t-as="column"> <th t-if="!column.meta and column.invisible !== '1'" t-att-data-id="column.id" t-att-class="((options.sortable and column.tag !== 'button') ? 'oe-sortable' : null)"> @@ -609,6 +610,7 @@ <tfoot class="ui-widget-header"> <tr> <td t-if="options.selectable"/> + <td t-if="options.isClarkGable"/> <td t-foreach="aggregate_columns" t-as="column" class="oe-list-footer oe-number" t-att-data-field="column.id" t-att-title="column.label"> </td> @@ -666,6 +668,9 @@ <th t-if="options.selectable" class="oe-record-selector" width="1"> <input t-att-type="options.radio? 'radio': 'checkbox'" name ="radiogroup" t-att-checked="options.select_view_id == record.get('id')? true: null"/> </th> + <th t-if="options.isClarkGable" class="oe-record-edit-link" width="1"> + <img src="/web/static/src/img/pencil.gif" width="12" height="12" class="oe-record-edit-link-img"/> + </th> <t t-foreach="columns" t-as="column"> <t t-set="align" t-value="column.type === 'integer' or column.type == 'float'"/> <td t-if="!column.meta and column.invisible !== '1'" t-att-title="column.help" @@ -899,7 +904,7 @@ </div> </t> <t t-name="FieldURI.readonly"> - <a href="#">#</a> + <a href="#" class="oe_form_uri">#</a> </t> <t t-name="FieldEmail"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> @@ -1065,7 +1070,7 @@ <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td width="100%"> - <input type="text" size="1" + <input type="text" size="1" readonly="readonly" t-att-name="widget.name" t-att-id="widget.element_id + '_field'" t-attf-class="field_#{widget.type}" style="width: 100%" @@ -1419,6 +1424,7 @@ --> <t t-jquery="> :first" t-operation="before"> <td t-if="edited and !options.selectable" class="oe-listview-padding"/> + <td t-if="edited and !options.isClarkGable" class="oe-listview-padding"/> </t> <t t-jquery="> :last" t-operation="after"> <td t-if="edited and !options.deletable" class="oe-listview-padding"/> |
