Display components priorities in list and views
This commit is contained in:
parent
6e1369e6b1
commit
0b7485228c
1
NEWS
1
NEWS
|
@ -13,6 +13,7 @@ Enhancements
|
||||||
- [web] new SOGoHelpURL preference to set a custom URL for SOGo help (#2768)
|
- [web] new SOGoHelpURL preference to set a custom URL for SOGo help (#2768)
|
||||||
- [web] now able to copy/move events and also duplicate them (#3196)
|
- [web] now able to copy/move events and also duplicate them (#3196)
|
||||||
- [web] improve preferences validation and check for unsaved changes
|
- [web] improve preferences validation and check for unsaved changes
|
||||||
|
- [web] display events and tasks priorities in list and day/week views
|
||||||
|
|
||||||
Bug fixes
|
Bug fixes
|
||||||
- [web] fixed missing columns in SELECT statements (PostgreSQL)
|
- [web] fixed missing columns in SELECT statements (PostgreSQL)
|
||||||
|
|
|
@ -12,29 +12,35 @@
|
||||||
"Switch to month view" = "Switch to month view";
|
"Switch to month view" = "Switch to month view";
|
||||||
"Switch to multi-columns day view" = "Switch to multi-columns day view";
|
"Switch to multi-columns day view" = "Switch to multi-columns day view";
|
||||||
"Reload all calendars" = "Reload all calendars";
|
"Reload all calendars" = "Reload all calendars";
|
||||||
|
|
||||||
/* Tabs */
|
/* Tabs */
|
||||||
"Date" = "Date";
|
"Date" = "Date";
|
||||||
"Calendars" = "Calendars";
|
"Calendars" = "Calendars";
|
||||||
"No events for selected criteria" = "No events for selected criteria";
|
"No events for selected criteria" = "No events for selected criteria";
|
||||||
"No tasks for selected criteria" = "No tasks for selected criteria";
|
"No tasks for selected criteria" = "No tasks for selected criteria";
|
||||||
|
|
||||||
/* Day */
|
/* Day */
|
||||||
"DayOfTheMonth" = "Day of the month";
|
"DayOfTheMonth" = "Day of the month";
|
||||||
"dayLabelFormat" = "%m/%d/%Y";
|
"dayLabelFormat" = "%m/%d/%Y";
|
||||||
"today" = "Today";
|
"today" = "Today";
|
||||||
"Previous Day" = "Previous Day";
|
"Previous Day" = "Previous Day";
|
||||||
"Next Day" = "Next Day";
|
"Next Day" = "Next Day";
|
||||||
|
|
||||||
/* Week */
|
/* Week */
|
||||||
"Week" = "Week";
|
"Week" = "Week";
|
||||||
"this week" = "this week";
|
"this week" = "this week";
|
||||||
"Week %d" = "Week %d";
|
"Week %d" = "Week %d";
|
||||||
"Previous Week" = "Previous Week";
|
"Previous Week" = "Previous Week";
|
||||||
"Next Week" = "Next Week";
|
"Next Week" = "Next Week";
|
||||||
|
|
||||||
/* Month */
|
/* Month */
|
||||||
"this month" = "this month";
|
"this month" = "this month";
|
||||||
"Previous Month" = "Previous Month";
|
"Previous Month" = "Previous Month";
|
||||||
"Next Month" = "Next Month";
|
"Next Month" = "Next Month";
|
||||||
|
|
||||||
/* Year */
|
/* Year */
|
||||||
"this year" = "this year";
|
"this year" = "this year";
|
||||||
|
|
||||||
/* Menu */
|
/* Menu */
|
||||||
"Calendar" = "Calendar";
|
"Calendar" = "Calendar";
|
||||||
"Contacts" = "Contacts";
|
"Contacts" = "Contacts";
|
||||||
|
@ -57,11 +63,14 @@
|
||||||
"A total of %{0} events were imported in the calendar." = "A total of %{0} events were imported in the calendar.";
|
"A total of %{0} events were imported in the calendar." = "A total of %{0} events were imported in the calendar.";
|
||||||
"Compose E-Mail to All Attendees" = "Compose E-Mail to All Attendees";
|
"Compose E-Mail to All Attendees" = "Compose E-Mail to All Attendees";
|
||||||
"Compose E-Mail to Undecided Attendees" = "Compose E-Mail to Undecided Attendees";
|
"Compose E-Mail to Undecided Attendees" = "Compose E-Mail to Undecided Attendees";
|
||||||
|
|
||||||
/* Folders */
|
/* Folders */
|
||||||
"Personal calendar" = "Personal calendar";
|
"Personal calendar" = "Personal calendar";
|
||||||
|
|
||||||
/* Misc */
|
/* Misc */
|
||||||
"OpenGroupware.org" = "OpenGroupware.org";
|
"OpenGroupware.org" = "OpenGroupware.org";
|
||||||
"Forbidden" = "Forbidden";
|
"Forbidden" = "Forbidden";
|
||||||
|
|
||||||
/* acls */
|
/* acls */
|
||||||
"Access rights to" = "Access rights to";
|
"Access rights to" = "Access rights to";
|
||||||
"For user" = "For user";
|
"For user" = "For user";
|
||||||
|
@ -84,6 +93,7 @@
|
||||||
= "This person can create objects in my calendar.";
|
= "This person can create objects in my calendar.";
|
||||||
"This person can erase objects from my calendar."
|
"This person can erase objects from my calendar."
|
||||||
= "This person can erase objects from my calendar.";
|
= "This person can erase objects from my calendar.";
|
||||||
|
|
||||||
/* Button Titles */
|
/* Button Titles */
|
||||||
"Subscribe to a Calendar..." = "Subscribe to a Calendar...";
|
"Subscribe to a Calendar..." = "Subscribe to a Calendar...";
|
||||||
"Remove the selected Calendar" = "Remove the selected Calendar";
|
"Remove the selected Calendar" = "Remove the selected Calendar";
|
||||||
|
@ -104,6 +114,7 @@
|
||||||
"Save" = "Save";
|
"Save" = "Save";
|
||||||
"show_rejected_apts" = "Show rejected appointments";
|
"show_rejected_apts" = "Show rejected appointments";
|
||||||
"hide_rejected_apts" = "Hide rejected appointments";
|
"hide_rejected_apts" = "Hide rejected appointments";
|
||||||
|
|
||||||
/* Schedule */
|
/* Schedule */
|
||||||
"Schedule" = "Schedule";
|
"Schedule" = "Schedule";
|
||||||
"No appointments found" = "No appointments found";
|
"No appointments found" = "No appointments found";
|
||||||
|
@ -116,6 +127,7 @@
|
||||||
"more attendees" = "More Attendees";
|
"more attendees" = "More Attendees";
|
||||||
"Hide already accepted and rejected appointments" = "Hide already accepted and rejected appointments";
|
"Hide already accepted and rejected appointments" = "Hide already accepted and rejected appointments";
|
||||||
"Show already accepted and rejected appointments" = "Show already accepted and rejected appointments";
|
"Show already accepted and rejected appointments" = "Show already accepted and rejected appointments";
|
||||||
|
|
||||||
/* Print view */
|
/* Print view */
|
||||||
"LIST" = "List";
|
"LIST" = "List";
|
||||||
"Print Settings" = "Print Settings";
|
"Print Settings" = "Print Settings";
|
||||||
|
@ -129,6 +141,7 @@
|
||||||
"Display events and tasks colors" = "Display events and tasks colors";
|
"Display events and tasks colors" = "Display events and tasks colors";
|
||||||
"Borders" = "Borders";
|
"Borders" = "Borders";
|
||||||
"Backgrounds" = "Backgrounds";
|
"Backgrounds" = "Backgrounds";
|
||||||
|
|
||||||
/* Appointments */
|
/* Appointments */
|
||||||
"Appointment viewer" = "Appointment Viewer";
|
"Appointment viewer" = "Appointment Viewer";
|
||||||
"Appointment editor" = "Appointment Editor";
|
"Appointment editor" = "Appointment Editor";
|
||||||
|
@ -166,15 +179,19 @@
|
||||||
"attributes" = "attributes";
|
"attributes" = "attributes";
|
||||||
"attendees" = "attendees";
|
"attendees" = "attendees";
|
||||||
"delegated from" = "delegated from";
|
"delegated from" = "delegated from";
|
||||||
|
|
||||||
/* checkbox title */
|
/* checkbox title */
|
||||||
"is private" = "is private";
|
"is private" = "is private";
|
||||||
|
|
||||||
/* classification */
|
/* classification */
|
||||||
"Public" = "Public";
|
"Public" = "Public";
|
||||||
"Private" = "Private";
|
"Private" = "Private";
|
||||||
|
|
||||||
/* text used in overviews and tooltips */
|
/* text used in overviews and tooltips */
|
||||||
"empty title" = "Empty title";
|
"empty title" = "Empty title";
|
||||||
"private appointment" = "Private appointment";
|
"private appointment" = "Private appointment";
|
||||||
"Change..." = "Change...";
|
"Change..." = "Change...";
|
||||||
|
|
||||||
/* Appointments (participation state) */
|
/* Appointments (participation state) */
|
||||||
"partStat_NEEDS-ACTION" = "I will confirm later";
|
"partStat_NEEDS-ACTION" = "I will confirm later";
|
||||||
"partStat_ACCEPTED" = "I will attend";
|
"partStat_ACCEPTED" = "I will attend";
|
||||||
|
@ -182,10 +199,12 @@
|
||||||
"partStat_TENTATIVE" = "I might attend";
|
"partStat_TENTATIVE" = "I might attend";
|
||||||
"partStat_DELEGATED" = "I delegate";
|
"partStat_DELEGATED" = "I delegate";
|
||||||
"partStat_OTHER" = "Other";
|
"partStat_OTHER" = "Other";
|
||||||
|
|
||||||
/* Appointments (error messages) */
|
/* Appointments (error messages) */
|
||||||
"Conflicts found!" = "Conflicts found!";
|
"Conflicts found!" = "Conflicts found!";
|
||||||
"Invalid iCal data!" = "Invalid iCal data!";
|
"Invalid iCal data!" = "Invalid iCal data!";
|
||||||
"Could not create iCal data!" = "Could not create iCal data!";
|
"Could not create iCal data!" = "Could not create iCal data!";
|
||||||
|
|
||||||
/* Searching */
|
/* Searching */
|
||||||
"view_all" = "All";
|
"view_all" = "All";
|
||||||
"view_today" = "Today";
|
"view_today" = "Today";
|
||||||
|
@ -209,11 +228,13 @@
|
||||||
"check for conflicts" = "Check for conflicts";
|
"check for conflicts" = "Check for conflicts";
|
||||||
"URL" = "URL";
|
"URL" = "URL";
|
||||||
"newAttendee" = "Add attendee";
|
"newAttendee" = "Add attendee";
|
||||||
|
|
||||||
/* calendar modes */
|
/* calendar modes */
|
||||||
"Overview" = "Overview";
|
"Overview" = "Overview";
|
||||||
"Chart" = "Chart";
|
"Chart" = "Chart";
|
||||||
"List" = "List";
|
"List" = "List";
|
||||||
"Columns" = "Columns";
|
"Columns" = "Columns";
|
||||||
|
|
||||||
/* Priorities */
|
/* Priorities */
|
||||||
"prio_0" = "Not specified";
|
"prio_0" = "Not specified";
|
||||||
"prio_1" = "High";
|
"prio_1" = "High";
|
||||||
|
@ -225,6 +246,7 @@
|
||||||
"prio_7" = "Low";
|
"prio_7" = "Low";
|
||||||
"prio_8" = "Low";
|
"prio_8" = "Low";
|
||||||
"prio_9" = "Low";
|
"prio_9" = "Low";
|
||||||
|
|
||||||
/* access classes (privacy) */
|
/* access classes (privacy) */
|
||||||
"PUBLIC_vevent" = "Public Event";
|
"PUBLIC_vevent" = "Public Event";
|
||||||
"CONFIDENTIAL_vevent" = "Confidential Event";
|
"CONFIDENTIAL_vevent" = "Confidential Event";
|
||||||
|
@ -232,6 +254,7 @@
|
||||||
"PUBLIC_vtodo" = "Public Task";
|
"PUBLIC_vtodo" = "Public Task";
|
||||||
"CONFIDENTIAL_vtodo" = "Confidential Task";
|
"CONFIDENTIAL_vtodo" = "Confidential Task";
|
||||||
"PRIVATE_vtodo" = "Private Task";
|
"PRIVATE_vtodo" = "Private Task";
|
||||||
|
|
||||||
/* status type */
|
/* status type */
|
||||||
"status_" = "Not specified";
|
"status_" = "Not specified";
|
||||||
"status_NOT-SPECIFIED" = "Not specified";
|
"status_NOT-SPECIFIED" = "Not specified";
|
||||||
|
@ -241,6 +264,16 @@
|
||||||
"status_NEEDS-ACTION" = "Needs Action";
|
"status_NEEDS-ACTION" = "Needs Action";
|
||||||
"status_IN-PROCESS" = "In Process";
|
"status_IN-PROCESS" = "In Process";
|
||||||
"status_COMPLETED" = "Completed on";
|
"status_COMPLETED" = "Completed on";
|
||||||
|
|
||||||
|
/* Priority level */
|
||||||
|
"low" = "low";
|
||||||
|
|
||||||
|
/* Priority level */
|
||||||
|
"normal" = "normal";
|
||||||
|
|
||||||
|
/* Priority level */
|
||||||
|
"high" = "high";
|
||||||
|
|
||||||
/* Cycles */
|
/* Cycles */
|
||||||
"cycle_once" = "cycle_once";
|
"cycle_once" = "cycle_once";
|
||||||
"cycle_daily" = "cycle_daily";
|
"cycle_daily" = "cycle_daily";
|
||||||
|
@ -264,10 +297,12 @@
|
||||||
"Week(s)" = "Week(s)";
|
"Week(s)" = "Week(s)";
|
||||||
"On" = "On";
|
"On" = "On";
|
||||||
"Month(s)" = "Month(s)";
|
"Month(s)" = "Month(s)";
|
||||||
|
|
||||||
/* [Event recurrence editor] Ex: _The_ first Sunday */
|
/* [Event recurrence editor] Ex: _The_ first Sunday */
|
||||||
"The" = "The";
|
"The" = "The";
|
||||||
"Recur on day(s)" = "Recur on day(s)";
|
"Recur on day(s)" = "Recur on day(s)";
|
||||||
"Year(s)" = "Year(s)";
|
"Year(s)" = "Year(s)";
|
||||||
|
|
||||||
/* [Event recurrence editor] Ex: Every first Sunday _of_ April */
|
/* [Event recurrence editor] Ex: Every first Sunday _of_ April */
|
||||||
"cycle_of" = "of";
|
"cycle_of" = "of";
|
||||||
"No end date" = "No end date";
|
"No end date" = "No end date";
|
||||||
|
@ -285,6 +320,7 @@
|
||||||
"Fourth" = "Fourth";
|
"Fourth" = "Fourth";
|
||||||
"Fift" = "Fift";
|
"Fift" = "Fift";
|
||||||
"Last" = "Last";
|
"Last" = "Last";
|
||||||
|
|
||||||
/* Appointment categories */
|
/* Appointment categories */
|
||||||
"category_none" = "None";
|
"category_none" = "None";
|
||||||
"category_labels" = "Anniversary,Birthday,Business,Calls,Clients,Competition,Customer,Favorites,Follow up,Gifts,Holidays,Ideas,Meeting,Issues,Miscellaneous,Personal,Projects,Public Holiday,Status,Suppliers,Travel,Vacation";
|
"category_labels" = "Anniversary,Birthday,Business,Calls,Clients,Competition,Customer,Favorites,Follow up,Gifts,Holidays,Ideas,Meeting,Issues,Miscellaneous,Personal,Projects,Public Holiday,Status,Suppliers,Travel,Vacation";
|
||||||
|
@ -329,12 +365,15 @@
|
||||||
"zoom_100" = "100%";
|
"zoom_100" = "100%";
|
||||||
"zoom_50" = "50%";
|
"zoom_50" = "50%";
|
||||||
"zoom_25" = "25%";
|
"zoom_25" = "25%";
|
||||||
|
|
||||||
/* transparency */
|
/* transparency */
|
||||||
"Show Time as Free" = "Show Time as Free";
|
"Show Time as Free" = "Show Time as Free";
|
||||||
|
|
||||||
/* email notifications */
|
/* email notifications */
|
||||||
"Send Appointment Notifications" = "Send Appointment Notifications";
|
"Send Appointment Notifications" = "Send Appointment Notifications";
|
||||||
"From" = "From";
|
"From" = "From";
|
||||||
"To" = "To";
|
"To" = "To";
|
||||||
|
|
||||||
/* validation errors */
|
/* validation errors */
|
||||||
validate_notitle = "No title is set, continue?";
|
validate_notitle = "No title is set, continue?";
|
||||||
validate_invalid_startdate = "Incorrect startdate field!";
|
validate_invalid_startdate = "Incorrect startdate field!";
|
||||||
|
@ -343,10 +382,12 @@ validate_endbeforestart = "The end date that you entered occurs before the st
|
||||||
"Events" = "Events";
|
"Events" = "Events";
|
||||||
"Tasks" = "Tasks";
|
"Tasks" = "Tasks";
|
||||||
"Show completed tasks" = "Show completed tasks";
|
"Show completed tasks" = "Show completed tasks";
|
||||||
|
|
||||||
/* tabs */
|
/* tabs */
|
||||||
"Task" = "Task";
|
"Task" = "Task";
|
||||||
"Event" = "Event";
|
"Event" = "Event";
|
||||||
"Recurrence" = "Recurrence";
|
"Recurrence" = "Recurrence";
|
||||||
|
|
||||||
/* toolbar */
|
/* toolbar */
|
||||||
"New Event" = "New Event";
|
"New Event" = "New Event";
|
||||||
"New Task" = "New Task";
|
"New Task" = "New Task";
|
||||||
|
@ -357,9 +398,11 @@ validate_endbeforestart = "The end date that you entered occurs before the st
|
||||||
"Week View" = "Week View";
|
"Week View" = "Week View";
|
||||||
"Month View" = "Month View";
|
"Month View" = "Month View";
|
||||||
"Reload" = "Reload";
|
"Reload" = "Reload";
|
||||||
|
|
||||||
/* Number of selected components in events or tasks list */
|
/* Number of selected components in events or tasks list */
|
||||||
"selected" = "selected";
|
"selected" = "selected";
|
||||||
"eventPartStatModificationError" = "Your participation status could not be modified.";
|
"eventPartStatModificationError" = "Your participation status could not be modified.";
|
||||||
|
|
||||||
/* menu */
|
/* menu */
|
||||||
"New Event..." = "New Event...";
|
"New Event..." = "New Event...";
|
||||||
"New Task..." = "New Task...";
|
"New Task..." = "New Task...";
|
||||||
|
@ -375,6 +418,7 @@ validate_endbeforestart = "The end date that you entered occurs before the st
|
||||||
= "You cannot remove nor unsubscribe from your personal calendar.";
|
= "You cannot remove nor unsubscribe from your personal calendar.";
|
||||||
"Are you sure you want to delete the calendar \"%{0}\"?"
|
"Are you sure you want to delete the calendar \"%{0}\"?"
|
||||||
= "Are you sure you want to delete the calendar \"%{0}\"?";
|
= "Are you sure you want to delete the calendar \"%{0}\"?";
|
||||||
|
|
||||||
/* Legend */
|
/* Legend */
|
||||||
"Participant" = "Participant";
|
"Participant" = "Participant";
|
||||||
"Optional Participant" = "Optional Participant";
|
"Optional Participant" = "Optional Participant";
|
||||||
|
@ -388,6 +432,7 @@ validate_endbeforestart = "The end date that you entered occurs before the st
|
||||||
"Busy" = "Busy";
|
"Busy" = "Busy";
|
||||||
"Maybe busy" = "Maybe busy";
|
"Maybe busy" = "Maybe busy";
|
||||||
"No free-busy information" = "No free-busy information";
|
"No free-busy information" = "No free-busy information";
|
||||||
|
|
||||||
/* FreeBusy panel buttons and labels */
|
/* FreeBusy panel buttons and labels */
|
||||||
"Suggest time slot" = "Suggest time slot";
|
"Suggest time slot" = "Suggest time slot";
|
||||||
"Zoom" = "Zoom";
|
"Zoom" = "Zoom";
|
||||||
|
@ -401,12 +446,14 @@ validate_endbeforestart = "The end date that you entered occurs before the st
|
||||||
"and" = "and";
|
"and" = "and";
|
||||||
"A time conflict exists with one or more attendees.\nWould you like to keep the current settings anyway?"
|
"A time conflict exists with one or more attendees.\nWould you like to keep the current settings anyway?"
|
||||||
= "A time conflict exists with one or more attendees.\nWould you like to keep the current settings anyway?";
|
= "A time conflict exists with one or more attendees.\nWould you like to keep the current settings anyway?";
|
||||||
|
|
||||||
/* events list */
|
/* events list */
|
||||||
"Due" = "Due";
|
"Due" = "Due";
|
||||||
"(Private Event)" = "(Private Event)";
|
"(Private Event)" = "(Private Event)";
|
||||||
vevent_class0 = "(Public event)";
|
vevent_class0 = "(Public event)";
|
||||||
vevent_class1 = "(Private event)";
|
vevent_class1 = "(Private event)";
|
||||||
vevent_class2 = "(Confidential event)";
|
vevent_class2 = "(Confidential event)";
|
||||||
|
|
||||||
/* tasks list */
|
/* tasks list */
|
||||||
"Descending Order" = "Descending Order";
|
"Descending Order" = "Descending Order";
|
||||||
vtodo_class0 = "(Public task)";
|
vtodo_class0 = "(Public task)";
|
||||||
|
@ -422,6 +469,7 @@ vtodo_class2 = "(Confidential task)";
|
||||||
"Edit All Occurrences" = "Edit All Occurrences";
|
"Edit All Occurrences" = "Edit All Occurrences";
|
||||||
"Update This Occurrence" = "Update This Occurrence";
|
"Update This Occurrence" = "Update This Occurrence";
|
||||||
"Update All Occurrences" = "Update All Occurrences";
|
"Update All Occurrences" = "Update All Occurrences";
|
||||||
|
|
||||||
/* Properties dialog */
|
/* Properties dialog */
|
||||||
"Color" = "Color";
|
"Color" = "Color";
|
||||||
"Include in free-busy" = "Include in free-busy";
|
"Include in free-busy" = "Include in free-busy";
|
||||||
|
@ -438,9 +486,11 @@ vtodo_class2 = "(Confidential task)";
|
||||||
"Email Address" = "Email Address";
|
"Email Address" = "Email Address";
|
||||||
"Export" = "Export";
|
"Export" = "Export";
|
||||||
|
|
||||||
|
|
||||||
/* Show only the calendar for which the menu is displayed */
|
/* Show only the calendar for which the menu is displayed */
|
||||||
"Show Only This Calendar" = "Show Only This Calendar";
|
"Show Only This Calendar" = "Show Only This Calendar";
|
||||||
|
|
||||||
|
|
||||||
/* Show all calendar (personal, subscriptions and web) */
|
/* Show all calendar (personal, subscriptions and web) */
|
||||||
"Show All Calendars" = "Show All Calendars";
|
"Show All Calendars" = "Show All Calendars";
|
||||||
|
|
||||||
|
@ -449,6 +499,7 @@ vtodo_class2 = "(Confidential task)";
|
||||||
"CalDAV URL" = "CalDAV URL ";
|
"CalDAV URL" = "CalDAV URL ";
|
||||||
"WebDAV ICS URL" = "WebDAV ICS URL";
|
"WebDAV ICS URL" = "WebDAV ICS URL";
|
||||||
"WebDAV XML URL" = "WebDAV XML URL";
|
"WebDAV XML URL" = "WebDAV XML URL";
|
||||||
|
|
||||||
/* Error messages */
|
/* Error messages */
|
||||||
"dayFieldInvalid" = "Please specify a numerical value in the Days field greater or equal to 1.";
|
"dayFieldInvalid" = "Please specify a numerical value in the Days field greater or equal to 1.";
|
||||||
"weekFieldInvalid" = "Please specify a numerical value in the Week(s) field greater or equal to 1.";
|
"weekFieldInvalid" = "Please specify a numerical value in the Week(s) field greater or equal to 1.";
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
/* NSArray+Scheduler.m - this file is part of SOGo
|
/* NSArray+Scheduler.m - this file is part of SOGo
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007-2010 Inverse inc.
|
* Copyright (C) 2007-2016 Inverse inc.
|
||||||
*
|
|
||||||
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
|
||||||
*
|
*
|
||||||
* This file is free software; you can redistribute it and/or modify
|
* This file is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -36,16 +34,17 @@
|
||||||
#define eventIsAllDayIndex 8
|
#define eventIsAllDayIndex 8
|
||||||
#define eventClassificationIndex 9
|
#define eventClassificationIndex 9
|
||||||
#define eventCategoryIndex 10
|
#define eventCategoryIndex 10
|
||||||
#define eventPartMailsIndex 11
|
#define eventPriorityIndex 11
|
||||||
#define eventPartStatesIndex 12
|
#define eventPartMailsIndex 12
|
||||||
#define eventOwnerIndex 13
|
#define eventPartStatesIndex 13
|
||||||
#define eventIsCycleIndex 14
|
#define eventOwnerIndex 14
|
||||||
#define eventNextAlarmIndex 15
|
#define eventIsCycleIndex 15
|
||||||
#define eventRecurrenceIdIndex 16
|
#define eventNextAlarmIndex 16
|
||||||
#define eventIsExceptionIndex 17
|
#define eventRecurrenceIdIndex 17
|
||||||
#define eventEditableIndex 18
|
#define eventIsExceptionIndex 18
|
||||||
#define eventErasableIndex 19
|
#define eventEditableIndex 19
|
||||||
#define eventOwnerIsOrganizerIndex 20
|
#define eventErasableIndex 20
|
||||||
|
#define eventOwnerIsOrganizerIndex 21
|
||||||
|
|
||||||
// See [UIxCalListingActions initialize]
|
// See [UIxCalListingActions initialize]
|
||||||
#define taskNameIndex 0
|
#define taskNameIndex 0
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007 Inverse inc.
|
* Copyright (C) 2007 Inverse inc.
|
||||||
*
|
*
|
||||||
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
|
||||||
*
|
|
||||||
* This file is free software; you can redistribute it and/or modify
|
* This file is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
* the Free Software Foundation; either version 2, or (at your option)
|
* the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* UIxCalListingActions.m - this file is part of SOGo
|
/* UIxCalListingActions.m - this file is part of SOGo
|
||||||
*
|
*
|
||||||
* Copyright (C) 2006-2015 Inverse inc.
|
* Copyright (C) 2006-2016 Inverse inc.
|
||||||
*
|
*
|
||||||
* This file is free software; you can redistribute it and/or modify
|
* This file is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
@ -79,7 +79,7 @@ static NSArray *tasksFields = nil;
|
||||||
@"calendarName",
|
@"calendarName",
|
||||||
@"c_status", @"c_title", @"c_startdate",
|
@"c_status", @"c_title", @"c_startdate",
|
||||||
@"c_enddate", @"c_location", @"c_isallday",
|
@"c_enddate", @"c_location", @"c_isallday",
|
||||||
@"c_classification", @"c_category",
|
@"c_classification", @"c_category", @"c_priority",
|
||||||
@"c_partmails", @"c_partstates", @"c_owner",
|
@"c_partmails", @"c_partstates", @"c_owner",
|
||||||
@"c_iscycle", @"c_nextalarm",
|
@"c_iscycle", @"c_nextalarm",
|
||||||
@"c_recurrence_id", @"isException", @"viewable", @"editable",
|
@"c_recurrence_id", @"isException", @"viewable", @"editable",
|
||||||
|
|
|
@ -72,6 +72,7 @@
|
||||||
<!-- priority -->
|
<!-- priority -->
|
||||||
<div class="pseudo-input-container" flex="50" flex-xs="100">
|
<div class="pseudo-input-container" flex="50" flex-xs="100">
|
||||||
<label class="pseudo-input-label"><var:string label:value="Priority"/></label>
|
<label class="pseudo-input-label"><var:string label:value="Priority"/></label>
|
||||||
|
<md-slider-container>
|
||||||
<md-slider class="md-flex"
|
<md-slider class="md-flex"
|
||||||
md-discrete="true"
|
md-discrete="true"
|
||||||
ng-model="editor.component.priority"
|
ng-model="editor.component.priority"
|
||||||
|
@ -79,6 +80,8 @@
|
||||||
min="0"
|
min="0"
|
||||||
max="9"
|
max="9"
|
||||||
label:aria-label="Priority"><!-- slider --></md-slider>
|
label:aria-label="Priority"><!-- slider --></md-slider>
|
||||||
|
<span>{{editor.priorityLevel()}}</span>
|
||||||
|
</md-slider-container>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- send appointment notifications -->
|
<!-- send appointment notifications -->
|
||||||
|
|
|
@ -531,7 +531,10 @@
|
||||||
ng-style="{ left: ($index * 3) + 'px' }"><!-- calendar color --></div>
|
ng-style="{ left: ($index * 3) + 'px' }"><!-- calendar color --></div>
|
||||||
<div class="sg-tile-content">
|
<div class="sg-tile-content">
|
||||||
<div class="sg-md-subhead">
|
<div class="sg-md-subhead">
|
||||||
<div>{{event.c_title}}</div>
|
<div>
|
||||||
|
<span ng-show="event.c_priority" class="sg-priority">{{event.c_priority}}</span>
|
||||||
|
{{event.c_title}}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="sg-md-body">
|
<div class="sg-md-body">
|
||||||
<div>{{event.c_location}}</div>
|
<div>{{event.c_location}}</div>
|
||||||
|
@ -573,7 +576,10 @@
|
||||||
ng-style="{ left: ($index * 3) + 'px' }"><!-- calendar color --></div>
|
ng-style="{ left: ($index * 3) + 'px' }"><!-- calendar color --></div>
|
||||||
<div class="sg-tile-content">
|
<div class="sg-tile-content">
|
||||||
<div class="sg-md-subhead">
|
<div class="sg-md-subhead">
|
||||||
<div>{{task.c_title}}</div>
|
<div>
|
||||||
|
<span ng-show="task.c_priority" class="sg-priority">{{task.c_priority}}</span>
|
||||||
|
{{task.c_title}}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="sg-md-body">
|
<div class="sg-md-body">
|
||||||
<div><!-- spacer --></div>
|
<div><!-- spacer --></div>
|
||||||
|
|
|
@ -72,6 +72,7 @@
|
||||||
<!-- priority -->
|
<!-- priority -->
|
||||||
<div class="pseudo-input-container" flex="50" flex-xs="100">
|
<div class="pseudo-input-container" flex="50" flex-xs="100">
|
||||||
<label class="pseudo-input-label"><var:string label:value="Priority"/></label>
|
<label class="pseudo-input-label"><var:string label:value="Priority"/></label>
|
||||||
|
<md-slider-container>
|
||||||
<md-slider class="md-flex"
|
<md-slider class="md-flex"
|
||||||
md-discrete="true"
|
md-discrete="true"
|
||||||
ng-model="editor.component.priority"
|
ng-model="editor.component.priority"
|
||||||
|
@ -79,6 +80,8 @@
|
||||||
min="0"
|
min="0"
|
||||||
max="9"
|
max="9"
|
||||||
label:aria-label="Priority"><!-- slider --></md-slider>
|
label:aria-label="Priority"><!-- slider --></md-slider>
|
||||||
|
<span>{{editor.priorityLevel()}}</span>
|
||||||
|
</md-slider-container>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- attach urls -->
|
<!-- attach urls -->
|
||||||
|
|
|
@ -179,6 +179,7 @@
|
||||||
vm.addAttendee = addAttendee;
|
vm.addAttendee = addAttendee;
|
||||||
vm.removeAttendee = removeAttendee;
|
vm.removeAttendee = removeAttendee;
|
||||||
vm.addAttachUrl = addAttachUrl;
|
vm.addAttachUrl = addAttachUrl;
|
||||||
|
vm.priorityLevel = priorityLevel;
|
||||||
vm.cancel = cancel;
|
vm.cancel = cancel;
|
||||||
vm.save = save;
|
vm.save = save;
|
||||||
vm.attendeeConflictError = false;
|
vm.attendeeConflictError = false;
|
||||||
|
@ -243,6 +244,17 @@
|
||||||
vm.showAttendeesEditor = false;
|
vm.showAttendeesEditor = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function priorityLevel() {
|
||||||
|
if (vm.component.priority) {
|
||||||
|
if (vm.component.priority > 5)
|
||||||
|
return l('low');
|
||||||
|
else if (vm.component.priority > 4)
|
||||||
|
return l('normal');
|
||||||
|
else
|
||||||
|
return l('high');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function save(form, options) {
|
function save(form, options) {
|
||||||
if (form.$valid) {
|
if (form.$valid) {
|
||||||
vm.component.$save(options)
|
vm.component.$save(options)
|
||||||
|
|
|
@ -38,7 +38,9 @@
|
||||||
' <div class="sg-category" ng-repeat="category in block.component.categories"',
|
' <div class="sg-category" ng-repeat="category in block.component.categories"',
|
||||||
' ng-class="\'bg-category\' + category"',
|
' ng-class="\'bg-category\' + category"',
|
||||||
' ng-style="{ right: ($index * 3) + \'px\' }"></div>',
|
' ng-style="{ right: ($index * 3) + \'px\' }"></div>',
|
||||||
' <div class="text">{{ block.component.summary }}',
|
' <div class="text">',
|
||||||
|
' <span ng-show="block.component.c_priority" class="sg-priority">{{block.component.c_priority}}</span>',
|
||||||
|
' {{ block.component.summary }}',
|
||||||
' <span class="icons">',
|
' <span class="icons">',
|
||||||
// Component is reccurent
|
// Component is reccurent
|
||||||
' <md-icon ng-if="block.component.occurrenceId" class="material-icons icon-repeat"></md-icon>',
|
' <md-icon ng-if="block.component.occurrenceId" class="material-icons icon-repeat"></md-icon>',
|
||||||
|
|
|
@ -500,6 +500,17 @@ $quarter_height: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sg-priority {
|
||||||
|
background-color: $colorGrey200;
|
||||||
|
border-radius: 50%;
|
||||||
|
color: $colorGrey700;
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 11px;
|
||||||
|
font-weight: bold;
|
||||||
|
line-height: 1;
|
||||||
|
padding: 2px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
.minutes15, .minutes30, .minutes45 {
|
.minutes15, .minutes30, .minutes45 {
|
||||||
display: block;
|
display: block;
|
||||||
height: 25%;
|
height: 25%;
|
||||||
|
|
Loading…
Reference in a new issue