Template operation : message if there is no template
This commit is contained in:
parent
1800b89bee
commit
2c48befc1d
1 changed files with 5 additions and 2 deletions
|
|
@ -281,8 +281,11 @@ class Pre_operation_detail
|
|||
if ( $this->jrn_def_id=='') $value=array();
|
||||
|
||||
$r="";
|
||||
$r.='<h2>'._("Choisissez un modèle").'</h2>';
|
||||
$r.=_('Cherche').' '.HtmlInput::filter_table('modele_op_tab', '0', '0');
|
||||
if (count($value)==0) {
|
||||
$r.=_("Vous n'avez encore sauvé aucun modèle");
|
||||
return $r;
|
||||
}
|
||||
$r.=_('Cherche').' '.HtmlInput::filter_table('modele_op_tab', '0,1', '0');
|
||||
$r.='<table style="width:100%" id="modele_op_tab">';
|
||||
for ($i=0;$i<count($value);$i++) {
|
||||
$r.='<tr class="'.(($i%2==0)?"even":"odd").'">';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue