mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 08:09:02 +01:00
- Add 'Add' button above nextmatch
- Add placeholder action to add when there are no rows
This commit is contained in:
parent
a2593672f4
commit
03c5e925c8
@ -165,6 +165,7 @@ class importexport_definitions_ui
|
||||
'csv_fields' => false, // Disable CSV export, uses own export
|
||||
'default_cols' => '!actions', // switch legacy actions column and row off by default
|
||||
'row_id' => 'definition_id',
|
||||
'placeholder_actions' => array('add')
|
||||
);
|
||||
if($_GET['application']) $content['nm']['col_filter']['application'] = $_GET['application'];
|
||||
}
|
||||
|
@ -55,8 +55,8 @@
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row disabled="!@msg">
|
||||
<description align="center" id="msg" no_lang="1" span="all" class="message"/>
|
||||
<row>
|
||||
<buttononly align="right" statustext="Add a new definition" label="Add" id="add" onclick="window.open(egw::link('/index.php','menuaction=importexport.importexport_definitions_ui.edit'),'_blank','dependent=yes,width=500,height=500,status=yes'); return false;"/>
|
||||
</row>
|
||||
<row>
|
||||
<nextmatch id="nm" template="importexport.definition_index.row"/>
|
||||
|
Loading…
Reference in New Issue
Block a user