Removed dead code, support for adding calendar categories, disabled unused tab
This commit is contained in:
parent
a787521977
commit
56763e1aca
|
@ -11,32 +11,6 @@
|
|||
title="title"
|
||||
const:jsFiles="Common/resource.js,Mailer/mailbox-model.js,Mailer/message-model.js,Preferences/preferences-model.js">
|
||||
|
||||
<!-- <md-content md-scroll-y="true"> -->
|
||||
|
||||
<!--
|
||||
<div id="mainMenu">
|
||||
<ul>
|
||||
<li ng-class="{_selected: $state.is('general')}" ui-sref="general">
|
||||
<i class="icon-cog"> </i><var:string label:value="General" /></li>
|
||||
<var:if condition="userHasCalendarAccess">
|
||||
<li ng-class="{_selected: state.is('calendars')}" ui-sref="calendars">
|
||||
<i class="icon-calendar2"> </i><var:string label:value="Calendars" /></li>
|
||||
</var:if>
|
||||
<li ng-class="{_selected: state.is('addressbooks')}" ui-sref="addressbooks">
|
||||
<i class="icon-address-book"> </i><var:string label:value="Address Book" /></li>
|
||||
<var:if condition="userHasMailAccess">
|
||||
<li ng-class="{_selected: state.is('mailer')}" ui-sref="mailer">
|
||||
<i class="icon-mail3"> </i><var:string label:value="Mailer" /></li>
|
||||
</var:if>
|
||||
</ul>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<!--
|
||||
<div id="container">
|
||||
<div id="viewer" ui-view="preferences"> </div>
|
||||
</div>
|
||||
-->
|
||||
<main class="view md-layout-fill" ui-view="preferences" layout="row"
|
||||
ng-controller="navController"><!-- preferences --> </main>
|
||||
|
||||
|
@ -533,10 +507,10 @@
|
|||
<md-tabs class="md-accent">
|
||||
|
||||
<!-- CONTACT > GENERAL -->
|
||||
<md-tab id="contactsGeneralTab"
|
||||
<!-- <md-tab id="contactsGeneralTab"
|
||||
aria-controls="contactsGeneralTab-content" label:label="General">
|
||||
GENERAL
|
||||
</md-tab>
|
||||
</md-tab> -->
|
||||
<!-- END OF CONTACT > GENERAL -->
|
||||
|
||||
<!-- CONTACT > CATEGORIES -->
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit dc2d204d9ac6c3536fbc485ff555cc419a601391
|
||||
Subproject commit eda14e9b367cccfe61ddc53686d288d7ed237d92
|
|
@ -76,6 +76,12 @@
|
|||
|
||||
$scope.preferences = statePreferences;
|
||||
|
||||
$scope.addCalendarCategory = function() {
|
||||
var color = {"": "#000"};
|
||||
$scope.preferences.defaults.SOGoCalendarCategories.push("");
|
||||
$scope.preferences.defaults.SOGoCalendarCategoriesColors.push(color);
|
||||
}
|
||||
|
||||
$scope.removeCalendarCategory = function(index) {
|
||||
var key = $scope.preferences.defaults.SOGoCalendarCategories[index];
|
||||
$scope.preferences.defaults.SOGoCalendarCategories.splice(index, 1);
|
||||
|
|
Loading…
Reference in a new issue