mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°7565 - Polishing Newsroom
This commit is contained in:
@@ -64,9 +64,6 @@ class iTopNewsroomController extends Controller
|
||||
$oBulkActionsBlock = PanelUIBlockFactory::MakeForInformation(Dict::S('UI:Newsroom:iTopNotification:ViewAllPage:Title'));
|
||||
$oBulkActionsBlock->AddSubTitleBlock(new Html(Dict::S('UI:Newsroom:iTopNotification:ViewAllPage:SubTitle')));
|
||||
$sPictureUrl = UserRights::GetUserPictureAbsUrl();
|
||||
if (empty($sPictureUrl)) {
|
||||
$sPictureUrl = utils::GetAbsoluteUrlAppRoot().'images/user-pictures/'.appUserPreferences::GetPref('user_picture_placeholder', 'user-profile-default-256px.png');
|
||||
}
|
||||
$oBulkActionsBlock->SetIcon($sPictureUrl,Panel::ENUM_ICON_COVER_METHOD_CONTAIN, true);
|
||||
|
||||
$oNotificationsCenterButton = ButtonUIBlockFactory::MakeIconLink(
|
||||
|
||||
@@ -63,9 +63,6 @@ class NotificationsCenterController extends Controller
|
||||
|
||||
$oNotificationsPanel->AddSubTitleBlock(new Html(Dict::S('UI:NotificationsCenter:Panel:SubTitle')));
|
||||
$sPictureUrl = UserRights::GetUserPictureAbsUrl();
|
||||
if (empty($sPictureUrl)) {
|
||||
$sPictureUrl = utils::GetAbsoluteUrlAppRoot().'images/user-pictures/'.appUserPreferences::GetPref('user_picture_placeholder', 'user-profile-default-256px.png');
|
||||
}
|
||||
$oNotificationsPanel->SetIcon($sPictureUrl,Panel::ENUM_ICON_COVER_METHOD_CONTAIN, true);
|
||||
|
||||
$oNotificationsCenterTableColumns = [
|
||||
|
||||
Reference in New Issue
Block a user