Commit b06c66f4 authored by Ghislain Loas's avatar Ghislain Loas

improve feature tracking button behavior

parent 3f49cd5a
......@@ -78,6 +78,6 @@ class Admin_FeatureController extends ZendAfi_Controller_Action {
if((new Class_Feature())->stopTracking())
$this->_helper->notify($this->_('Vous ne serez plus notifié des nouvelles fonctionnalités jusqu\'à la prochaine mise à jour du logicel.'));
\ No newline at end of file
......@@ -164,10 +164,10 @@ class Class_Feature {
protected function _renderContent($features) {
$buttons = [sprintf('<button class="admin-button" onclick="\'%s\');">%s</button>',
Class_Url::absolute(['module' => 'admin',
'controller' => 'feature',
'action' => 'index'], null, true),
$buttons = [sprintf('<button class="admin-button" onclick="\'%s\', \'_top\');">%s</button>',
Class_Url::absolute(['module' => 'admin',
'controller' => 'feature',
'action' => 'index'], null, true),
$this->_('En savoir plus')),
sprintf('<button class="admin-button" onclick="\'%s\', \'_top\')">%s</button>',
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment