Hide info_link in addressbook CRM view via CSS, and try to not filter them by query in infolog get_rows .

-Fix clicking on linked infolog entry and redirecting to AB CRM view removes the link from the row in infolog
This commit is contained in:
Hadi Nategh 2014-08-21 14:42:17 +00:00
parent 49d8706725
commit 8c975b5f46
4 changed files with 8 additions and 2 deletions

View File

@ -95,3 +95,6 @@ img.iphoto {
#addressbook-edit_room { #addressbook-edit_room {
float:right; float:right;
} }
.addressbookHooked .egwGridView_grid label>span.et2_link {
display: none;
}

View File

@ -115,6 +115,9 @@ img.iphoto {
#addressbook-edit_room { #addressbook-edit_room {
float: right; float: right;
} }
.addressbookHooked .egwGridView_grid label > span.et2_link {
display: none;
}
@media all { @media all {
/* ############################################################################# /* #############################################################################

View File

@ -436,7 +436,7 @@ class infolog_ui
{ {
$info['links'] =& $links[$id]; $info['links'] =& $links[$id];
$info['info_anz_subs'] = (int)$anzSubs[$id]; $info['info_anz_subs'] = (int)$anzSubs[$id];
$info = $this->get_info($info,$readonlys,$query['action'],$query['action_id'],false,$details); $info = $this->get_info($info,$readonlys,null,null,false,$details);
} }
// for subs view ('sp') add parent(s) in front of subs once(!) // for subs view ('sp') add parent(s) in front of subs once(!)
if ( $parent_first && ($main = $this->bo->read($query['action_id'])) || if ( $parent_first && ($main = $this->bo->read($query['action_id'])) ||

View File

@ -162,7 +162,7 @@
<template id="dates"/> <template id="dates"/>
<template id="header_right"/> <template id="header_right"/>
</row> </row>
<row> <row class="$cont[action]Hooked">
<nextmatch id="nm" template="infolog.index.rows" span="all"/> <nextmatch id="nm" template="infolog.index.rows" span="all"/>
</row> </row>
<row> <row>