mirror of https://github.com/MISP/MISP
fix: [UI] Remove popover from URL
parent
d85fbbaf95
commit
84129c3bf9
|
@ -112,7 +112,7 @@
|
|||
__('Add a tag'),
|
||||
'addTagButton btn btn-inverse noPrint',
|
||||
'line-height:10px; padding: 2px;',
|
||||
$baseurl . '/tags/selectTaxonomy/' . $id . ($scope === 'event') ? '' : ('/' . $scope),
|
||||
'/tags/selectTaxonomy/' . $id . ($scope === 'event') ? '' : ('/' . $scope),
|
||||
'<i class="fas fa-globe-americas"></i> +'
|
||||
);
|
||||
}
|
||||
|
@ -123,7 +123,7 @@
|
|||
__('Add a local tag'),
|
||||
'addLocalTagButton btn btn-inverse noPrint',
|
||||
'line-height:10px; padding: 2px;',
|
||||
$baseurl . '/tags/selectTaxonomy/local:1/' . $id . ($scope === 'event') ? '' : ('/' . $scope),
|
||||
'/tags/selectTaxonomy/local:1/' . $id . ($scope === 'event') ? '' : ('/' . $scope),
|
||||
'<i class="fas fa-user"></i> +'
|
||||
);
|
||||
}
|
||||
|
|
|
@ -123,7 +123,7 @@ echo $this->Form->end();
|
|||
<?php endif; ?>
|
||||
<?php
|
||||
if ($editButtonsEnabled) {
|
||||
$link = "$baseurl/galaxies/selectGalaxyNamespace/" . h($target_id) . "/" . h($target_type) . "/local:0";
|
||||
$link = "/galaxies/selectGalaxyNamespace/" . h($target_id) . "/" . h($target_type) . "/local:0";
|
||||
echo sprintf(
|
||||
'<button class="%s" data-popover-popup="%s" role="button" tabindex="0" aria-label="' . __('Add new cluster') . '" title="' . __('Add new cluster') . '">%s</button>',
|
||||
'useCursorPointer btn btn-inverse',
|
||||
|
@ -133,7 +133,7 @@ if ($editButtonsEnabled) {
|
|||
}
|
||||
|
||||
if ($editButtonsLocalEnabled) {
|
||||
$link = "$baseurl/galaxies/selectGalaxyNamespace/" . h($target_id) . "/" . h($target_type) . "/local:1";
|
||||
$link = "/galaxies/selectGalaxyNamespace/" . h($target_id) . "/" . h($target_type) . "/local:1";
|
||||
echo sprintf(
|
||||
'<button class="%s" data-popover-popup="%s" role="button" tabindex="0" aria-label="' . __('Add new local cluster') . '" title="' . __('Add new local cluster') . '">%s</button>',
|
||||
'useCursorPointer btn btn-inverse',
|
||||
|
|
Loading…
Reference in New Issue