[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 01/17: if there is no contact show a warning
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 01/17: if there is no contact show a warning |
Date: |
Fri, 02 Oct 2015 10:22:12 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 75953bcf9537ec965c4c9053038d8e2c95813210
Author: Dany De Bontridder <address@hidden>
Date: Tue Sep 15 07:26:13 2015 +0200
if there is no contact show a warning
---
include/template/detail-action.php | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/template/detail-action.php
b/include/template/detail-action.php
index 7a95d32..582bd09 100644
--- a/include/template/detail-action.php
+++ b/include/template/detail-action.php
@@ -51,6 +51,11 @@
<TD>
<?php
if ($g_user->can_write_action($this->ag_id) == true ):
+ if ( $ag_contact->extra != "" ):
+ echo $ag_contact->search().$ag_contact->input();
+ else:
+ echo _('Pas de catégorie de contact');
+ endif;
echo $ag_contact->search().$ag_contact->input();
endif;
?>
- [Noalyss-commit] [noalyss] branch master updated (91e9218 -> b3cb736), Dany De Bontridder, 2015/10/08
- [Noalyss-commit] [noalyss] 01/17: if there is no contact show a warning,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 05/17: restructure files and folders, Dany De Bontridder, 2015/10/08
- [Noalyss-commit] [noalyss] 03/17: restructure files and folders, Dany De Bontridder, 2015/10/08
- [Noalyss-commit] [noalyss] 11/17: Use Dossier::connect (singleton) instead of new Databass(dossier_id), Dany De Bontridder, 2015/10/08
- [Noalyss-commit] [noalyss] 04/17: restructure files and folders, Dany De Bontridder, 2015/10/08
- [Noalyss-commit] [noalyss] 06/17: Use error_log with exception to log getTraceAsString, Dany De Bontridder, 2015/10/08
- [Noalyss-commit] [noalyss] 13/17: Fix problem in Bilan Belge, Dany De Bontridder, 2015/10/08
- [Noalyss-commit] [noalyss] 02/17: restructure files and folders, Dany De Bontridder, 2015/10/08
- [Noalyss-commit] [noalyss] 08/17: Cut at the 80th column, Dany De Bontridder, 2015/10/08
- [Noalyss-commit] [noalyss] 12/17: Fix problem in Bilan Belge, Dany De Bontridder, 2015/10/08
- [Noalyss-commit] [noalyss] 14/17: Fix problem in Bilan Belge, Dany De Bontridder, 2015/10/08