noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 21/29: cosmetic , remove myfiedset class, unc


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 21/29: cosmetic , remove myfiedset class, unclosed tag , the title comment is not show if there is no comment
Date: Wed, 4 Nov 2020 11:08:44 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 86d85a3635a1e6eef279e1997058b8550efd2d60
Author: Dany wm De Bontridder <danydb@noalyss.eu>
AuthorDate: Sun Nov 1 15:35:35 2020 +0100

    cosmetic , remove myfiedset class, unclosed tag , the title comment is not 
show if there is no comment
---
 include/template/detail-action.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/template/detail-action.php 
b/include/template/detail-action.php
index cee6c9a..102202e 100644
--- a/include/template/detail-action.php
+++ b/include/template/detail-action.php
@@ -324,7 +324,7 @@ function small(p_id_textarea){
     if (    Document_Option::can_add_comment($ag_id) 
             && Document_Option::option_comment($this->dt_id) == "SOME_FIXED")
     {
-        echo h2(_("Commentaire"));
+       if( count($acomment) >0 ) echo h2(_("Commentaire"));
 
         for( $c=1;$c<count($acomment);$c++){
             if ($c == 0) { $m_desc=_('Description');}
@@ -396,7 +396,7 @@ if ( $this->ag_id > 0 && 
Document_Option::is_enable_operation_detail($this->dt_i
 
   
 
-<div class="myfieldset" id="div_action_attached_doc">
+<div  id="div_action_attached_doc">
   <h2>
      <?php echo _('Pièces attachées')?>
   </h2>
@@ -409,7 +409,7 @@ if ( $this->ag_id > 0 && 
Document_Option::is_enable_operation_detail($this->dt_i
 
  <?php if ($p_view != 'READ' && $str_select_doc != '') : ?>
          <?php echo _('Document à générer')?>
-  </legend>
+
   <?php echo $str_select_doc;
  echo $str_submit_generate;
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]