[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 135/219: Template operation : message if ther
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 135/219: Template operation : message if there is no template |
Date: |
Mon, 18 Dec 2017 13:22:51 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 2c48befc1d2fb76d183adf6afd8b55030eb09654
Author: Dany De Bontridder <address@hidden>
Date: Sat Nov 4 08:47:47 2017 +0100
Template operation : message if there is no template
---
include/class/pre_operation.class.php | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/include/class/pre_operation.class.php
b/include/class/pre_operation.class.php
index d0d98d9..bcafad3 100644
--- a/include/class/pre_operation.class.php
+++ b/include/class/pre_operation.class.php
@@ -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").'">';
- [Noalyss-commit] [noalyss] 11/219: Infobulle : esthetic, (continued)
- [Noalyss-commit] [noalyss] 11/219: Infobulle : esthetic, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 73/219: Esthetic : History , improve place of button, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 184/219: Icon move / fix Correct button_anchor to avoid the message "javascript:void(0)", Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 43/219: Add the icon for modify, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 12/219: Infobulle : warning : esthetic, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 126/219: Esthetic : align text, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 113/219: Améliore esthétique, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 106/219: task #0001272: Rendre possible l'appel de la calculatrice depuis le fin fond d'une page., Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 59/219: ManageTable : Correct bug for the sort, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 76/219: Extourne : correct reverse operation for autoliquidation, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 135/219: Template operation : message if there is no template,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 192/219: Select_box : add a new type of value and fix a problem with the position of the div, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 112/219: Task #0001481: Encodage Vente, Achat, Fin ou OD Task #0001485: possibilité de clouer une fenetre, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 125/219: Rewriting : Use of Noalyss_CSV, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 175/219: Change autocomplete and adapt Icard setWidth is false + indicator icon for ICard, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 81/219: PRINTPOSTE : esthetic, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 121/219: correct js : getMessage instead of message, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 78/219: InPlace_Switch : add a supplemental javascript command, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 10/219: GESTION -> CUST, MANAGER, ADM ... esthetic move the name of the tiers to the right, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 50/219: task #0001467: Journaux VENTES - inversion D/C dans liste de catégorie de fiches, Dany De Bontridder, 2017/12/18
- [Noalyss-commit] [noalyss] 169/219: For MSIE, force to unicode (still problem with MSIE11) !, Dany De Bontridder, 2017/12/18