diff options
| author | Xavier Morel <xmo@openerp.com> | 2011-12-15 16:29:34 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2011-12-15 16:29:34 +0100 |
| commit | 5e0cf3080d3f1066af497c3083e495ee91f16fec (patch) | |
| tree | 40bcdd79a5145ba9e259a279115199cb97710267 /addons/web/static/src/xml/base.xml | |
| parent | 1cbaae1b4da00f0469e9b51e5cc27d515aae747d (diff) | |
| parent | d74ab977fbf143d3714bd72ba18d8b74252f910d (diff) | |
[ADD] form links into list views
bzr revid: xmo@openerp.com-20111215152934-ujciaxk6o1iyorng
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 1bfce87fb96..600d1c0b78b 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" @@ -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"/> |
