mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-29 09:00:31 +00:00
(feat) major rework of the sidenav and top toolbars
This commit is contained in:
@@ -12,9 +12,18 @@
|
||||
var settings = {
|
||||
login: UserLogin || null,
|
||||
identification: UserIdentification || null,
|
||||
email: UserEmail || null,
|
||||
language: UserLanguage || null,
|
||||
folderURL: UserFolderURL || null,
|
||||
isSuperUser: IsSuperUser || null
|
||||
isSuperUser: IsSuperUser || null,
|
||||
path: {
|
||||
calendar: UserCalendarPath || null,
|
||||
contacts: UserContactsPath || null,
|
||||
mail: UserMailPath || null,
|
||||
preferences: UserPreferencesPath || null,
|
||||
administration: (IsSuperUser ? UserAdministrationPath : null),
|
||||
logoff: UserLogoffPath || null
|
||||
}
|
||||
};
|
||||
if (param)
|
||||
return settings[param];
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
function navController($scope, $timeout, $interval, $http, $mdSidenav, $mdBottomSheet, $mdMedia, $log, sgConstant, sgSettings, Alarm) {
|
||||
|
||||
$scope.activeUser = sgSettings.activeUser();
|
||||
$scope.baseURL = sgSettings.baseURL();
|
||||
|
||||
// Show current day in top bar
|
||||
$scope.currentDay = window.currentDay;
|
||||
|
||||
Reference in New Issue
Block a user