AntonLV 7 лет назад
Родитель
Сommit
de0f0523b8

+ 2 - 8
modules/base/groups/classes/BxBaseModGroupsGridAdministration.php

@@ -18,15 +18,9 @@ class BxBaseModGroupsGridAdministration extends BxBaseModProfileGridAdministrati
 
     protected function _getCellName($mixedValue, $sKey, $aField, $aRow)
     {
-    	$oProfile = $this->_getProfileObject($aRow['id']);
+        $oProfile = $this->_getProfileObject($aRow['id']);
 
-        $mixedValue = $this->_oTemplate->parseHtmlByName('name_link.html', array(
-            'href' => $oProfile->getUrl(),
-            'title' => $mixedValue,
-            'content' => $mixedValue
-        ));
-
-        return parent::_getCellDefault($mixedValue, $sKey, $aField, $aRow);
+        return parent::_getCellDefault($oProfile->getUnit(0, array('template' => 'unit_wo_cover')), $sKey, $aField, $aRow);
     }
 }
 

+ 1 - 0
modules/base/groups/template/unit_wo_cover.html

@@ -0,0 +1 @@
+<bx_include_base:../modules/base/profile/template/unit.html />

+ 1 - 0
modules/boonex/channels/template/unit_wo_cover.html

@@ -0,0 +1 @@
+<bx_include_base:../modules/base/groups/template/unit_wo_cover.html />

+ 1 - 0
modules/boonex/events/template/unit_wo_cover.html

@@ -0,0 +1 @@
+<bx_include_base:../modules/base/groups/template/unit_wo_cover.html />

+ 1 - 0
modules/boonex/groups/template/unit_wo_cover.html

@@ -0,0 +1 @@
+<bx_include_base:../modules/base/groups/template/unit_wo_cover.html />

+ 1 - 0
modules/boonex/spaces/template/unit_wo_cover.html

@@ -0,0 +1 @@
+<bx_include_base:../modules/base/groups/template/unit_wo_cover.html />