Bug #280

Bad link in table CRUD create button

Added by Giovanni Bezicheri about 10 years ago. Updated over 8 years ago.

Status:CLOSEDStart date:06/28/2011
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-nethgui
Target version:Phi
Security class: Resolution:
Affected version: NEEDINFO:

Description

Proposed patch:

diff --git a/NethGui/Template/Table/Read.php b/NethGui/Template/Table/Read.php
index 0972aed..639c983 100644
--- a/NethGui/Template/Table/Read.php
+++ b/NethGui/Template/Table/Read.php
@ -29,6 +29,6 @

<?php foreach ($view['tableActions'] as $tableAction): 
$fragment = implode('_', array_slice($view->getModulePath(), 0, 1)) . '_' . $tableAction;
?>&lt;li&gt;<?php echo $view->button($tableAction, $flags, '../' . $tableAction . '#' . $fragment) ?>&lt;/li&gt;<?php endforeach; ?>
+ ?>&lt;li&gt;<?php echo $view->button($tableAction, $flags, '../' . $tableAction . '/#' . $fragment) ?>&lt;/li&gt;<?php endforeach; ?>
&lt;/ul&gt;
&lt;/div&gt;

Associated revisions

Revision f1fbb779
Added by Davide Principi about 10 years ago

Refs #280. Fixes Bad link in table CRUD create button

History

#1 Updated by Giovanni Bezicheri about 10 years ago

Proposed patch:

diff --git a/NethGui/Template/Table/Read.php b/NethGui/Template/Table/Read.php
index 0972aed..639c983 100644
--- a/NethGui/Template/Table/Read.php
+++ b/NethGui/Template/Table/Read.php
@@ -29,6 +29,6 @@

     <?php foreach ($view['tableActions'] as $tableAction): 
             $fragment = implode('_', array_slice($view->getModulePath(), 0, -1)) . '_' . $tableAction;
-    ?><li><?php echo $view->button($tableAction, $flags, '../' . $tableAction . '#' . $fragment) ?></li><?php endforeach; ?>
+    ?><li><?php echo $view->button($tableAction, $flags, '../' . $tableAction . '/#' . $fragment) ?></li><?php endforeach; ?>
 </ul>
 </div>

#2 Updated by Davide Principi about 10 years ago

  • Category set to 2
  • Status changed from NEW to ON_DEV
  • Target version set to Phi

#3 Updated by Davide Principi about 10 years ago

  • Status changed from ON_DEV to 7
  • % Done changed from 0 to 100

Also available in: Atom PDF