|
|
@@ -1009,7 +1009,7 @@ class TableAjax extends ViewAjax {
|
|
|
;
|
|
|
funcNode.appendTo(cellNode);
|
|
|
});
|
|
|
- moreFuncBtnNode = $('<a href="#" style="margin:0 2px;text-decoration:none" title="Więcej funkcji ['+rowPK+']" class="glyphicon glyphicon-menu-hamburger"> </a>');
|
|
|
+ moreFuncBtnNode = $('<a href="#" style="margin:0 2px;text-decoration:none" title="Więcej funkcji dla rekordu nr '+rowPK+'" class="glyphicon glyphicon-menu-hamburger"> </a>');
|
|
|
moreFuncBtnNode.on('click', {rowPK: rowPK, rowFunctions: rowFunctions, more: moreFunctions}, priv.popoverCellMoreFunctions);
|
|
|
moreFuncBtnNode.appendTo(cellNode);
|
|
|
return cellNode;
|
|
|
@@ -5878,6 +5878,13 @@ jQuery(document).ready(function(){
|
|
|
if ('CRM_PROCES' == $this->_acl->getName()) {// TODO: mv to table gui xml or php class
|
|
|
$record = $this->_acl->getItem($id);
|
|
|
|
|
|
+ // procesy5.php?task=CRM_LISTA_ZASOBOW&filtr_id=22001
|
|
|
+ $rowFunc = new stdClass();
|
|
|
+ $rowFunc->ico = 'glyphicon glyphicon-eye-open';
|
|
|
+ $rowFunc->href = "procesy5.php?task=CRM_PROCES&filtr_id={$id}";
|
|
|
+ $rowFunc->title = "Zobacz na drzewie procesów {{$id}}";
|
|
|
+ $response->rowFunctions[] = $rowFunc;
|
|
|
+
|
|
|
$wskazniki = ProcesHelper::get_wskazniki($id);
|
|
|
$connectedZasobyTotal = count($wskazniki);
|
|
|
$rowFunc = new stdClass();
|
|
|
@@ -5888,9 +5895,16 @@ jQuery(document).ready(function(){
|
|
|
}
|
|
|
|
|
|
if ('CRM_LISTA_ZASOBOW' == $this->_acl->getName()) {// TODO: mv to table gui xml or php class
|
|
|
- // index.php?MENU_INIT=ZASOB_OBOWIAZKI&id_zasob=22001
|
|
|
$record = $this->_acl->getItem($id);
|
|
|
|
|
|
+ // procesy5.php?task=CRM_LISTA_ZASOBOW&filtr_id=22001
|
|
|
+ $rowFunc = new stdClass();
|
|
|
+ $rowFunc->ico = 'glyphicon glyphicon-eye-open';
|
|
|
+ $rowFunc->href = "procesy5.php?task=CRM_LISTA_ZASOBOW&filtr_id={$id}";
|
|
|
+ $rowFunc->title = "Zobacz na drzewie zasobów [{$id}]";
|
|
|
+ $response->rowFunctions[] = $rowFunc;
|
|
|
+
|
|
|
+ // index.php?MENU_INIT=ZASOB_OBOWIAZKI&id_zasob=22001
|
|
|
$rowFunc = new stdClass();
|
|
|
$rowFunc->ico = 'glyphicon glyphicon-random';
|
|
|
$rowFunc->href = "index.php?MENU_INIT=ZASOB_OBOWIAZKI&id_zasob={$id}";
|