[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 310/323: Cosmetic : use Icon_Action::trash
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 310/323: Cosmetic : use Icon_Action::trash |
Date: |
Wed, 14 Mar 2018 17:39:11 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit f0bb5efa8b3cb9d65d09bcfba7a47c21603de751
Author: Dany De Bontridder <address@hidden>
Date: Sat Mar 10 21:04:59 2018 +0100
Cosmetic : use Icon_Action::trash
---
include/template/detail-action.php | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/include/template/detail-action.php
b/include/template/detail-action.php
index 52df9cf..0ecc3bd 100644
--- a/include/template/detail-action.php
+++ b/include/template/detail-action.php
@@ -246,15 +246,15 @@ for( $c=0;$c<count($acomment);$c++){
$comment="";
if ( $p_view != 'READ' && $c > 0)
{
- $rmComment=sprintf("return confirm_box(null,'"._('Voulez-vous
effacer ce commentaire')." ?',function() {remove_comment('%s','%s');});",
- dossier::id(),
- $acomment[$c]['agc_id']);
- $js= '<a class="tinybutton"
id="accom'.$acomment[$c]['agc_id'].'" href="javascript:void(0)"
onclick="'.$rmComment.'">'.SMALLX.'</a>';
- $comment= h($m_desc.'
'.$acomment[$c]['agc_id'].'('.$acomment[$c]['tech_user']."
".$acomment[$c]['str_agc_date'].')').$js.
- '<pre class="field_follow_up"
id="com'.$acomment[$c]['agc_id'].'"> '.
- " ".h($acomment[$c]['agc_comment']).'</pre>'
- ;
-
+ $rmComment=sprintf("return confirm_box(null,'"._('Voulez-vous
effacer ce commentaire')." ?',function() {remove_comment('%s','%s');});",
+ dossier::id(),
+ $acomment[$c]['agc_id']);
+ $js=Icon_Action::trash("accom".$acomment[$c]['agc_id'],
$rmComment);
+ $comment= h($m_desc.'
'.$acomment[$c]['agc_id'].'('.$acomment[$c]['tech_user']."
".$acomment[$c]['str_agc_date'].')').$js.
+ '<pre class="field_follow_up"
id="com'.$acomment[$c]['agc_id'].'"> '.
+ " ".h($acomment[$c]['agc_comment']).'</pre>'
+ ;
+
}
else
{
- [Noalyss-commit] [noalyss] 248/323: Install improve message, (continued)
- [Noalyss-commit] [noalyss] 248/323: Install improve message, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 202/323: Improve : New DEFINE NOALYSS_URL, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 218/323: element go_up : fix height, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 235/323: Set version, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 257/323: Tag : box for adding a tag : add a close button, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 283/323: Todo List : fix bug in sort after zooming, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 287/323: Improve favicon.ico, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 182/323: Task #0001535: TVA : réécriture du module , fichier test pour TVA_RATE_MTABLE, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 185/323: Task #0001535: TVA : réécriture du module , missing file, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 229/323: index.css : CSS responsive, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 310/323: Cosmetic : use Icon_Action::trash,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 206/323: install : check the module XML , SimpleXML, ..., Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 299/323: Bug : action_late show also action for today, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 318/323: Bug fix : History filter : do not filter on the last columns, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 317/323: Dashboard : cannot zoom event from follow-up, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 261/323: remove dead code, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 271/323: Periode : fix , the second periode is wrong when opening day is asked, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 303/323: Some dialog must be fixed but draggable, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 209/323: Index : fix logo position, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 194/323: Remove user_local_pref, Dany De Bontridder, 2018/03/14
- [Noalyss-commit] [noalyss] 276/323: cosmetic center the form & logo, Dany De Bontridder, 2018/03/14