Bug #280
Bad link in table CRUD create button
| Status: | CLOSED | Start date: | 06/28/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due 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;
?><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>
Associated revisions
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