summaryrefslogtreecommitdiffstats
path: root/comm/calendar/base/content/calendar-view-menu.inc.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'comm/calendar/base/content/calendar-view-menu.inc.xhtml')
-rw-r--r--comm/calendar/base/content/calendar-view-menu.inc.xhtml195
1 files changed, 195 insertions, 0 deletions
diff --git a/comm/calendar/base/content/calendar-view-menu.inc.xhtml b/comm/calendar/base/content/calendar-view-menu.inc.xhtml
new file mode 100644
index 0000000000..166807f363
--- /dev/null
+++ b/comm/calendar/base/content/calendar-view-menu.inc.xhtml
@@ -0,0 +1,195 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+<menuseparator id="calViewMenuSeparator"
+ class="hide-when-calendar-deactivated"/>
+<menu id="calTodayPaneMenu"
+ class="hide-when-calendar-deactivated"
+ label="&calendar.context.button.label;"
+ accesskey="&calendar.context.button.accesskey;">
+ <menupopup id="calTodayPaneMenuPopup">
+ <menuitem id="calShowTodayPane-2"
+ label="&todaypane.showTodayPane.label;"
+ accesskey="&todaypane.showTodayPane.accesskey;"
+ type="checkbox"
+ key="todaypanekey"
+ command="calendar_toggle_todaypane_command"/>
+ <menuseparator id="calSeparatorBeforeDisplayMiniday"/>
+ <menuitem id="calTodayPaneDisplayMiniday"
+ name="minidisplay"
+ value="miniday"
+ type="radio"
+ oncommand="TodayPane.displayMiniSection('miniday')"
+ label="&todaypane.showMiniday.label;"
+ accesskey="&todaypane.showMiniday.accesskey;"/>
+ <menuitem id="calTodayPaneDisplayMinimonth"
+ name="minidisplay"
+ value="minimonth"
+ type="radio"
+ oncommand="TodayPane.displayMiniSection('minimonth')"
+ label="&todaypane.showMinimonth.label;"
+ accesskey="&todaypane.showMinimonth.accesskey;"/>
+ <menuitem id="calTodayPaneDisplayNone"
+ name="minidisplay"
+ value="none"
+ type="radio"
+ oncommand="TodayPane.displayMiniSection('none')"
+ label="&todaypane.showNone.label;"
+ accesskey="&todaypane.showNone.accesskey;"/>
+ </menupopup>
+</menu>
+<menu id="calCalendarMenu"
+ class="hide-when-calendar-deactivated"
+ observes="calendar_in_foreground"
+ label="&lightning.menu.view.calendar.label;"
+ accesskey="&lightning.menu.view.calendar.accesskey;">
+ <menupopup id="calCalendarMenuPopup">
+ <menuitem id="calChangeViewDay"
+ label="&lightning.toolbar.day.label;"
+ accesskey="&lightning.toolbar.day.accesskey;"
+ type="radio"
+ name="calendarMenuViews"
+ command="calendar_day-view_command"/>
+ <menuitem id="calChangeViewWeek"
+ label="&lightning.toolbar.week.label;"
+ accesskey="&lightning.toolbar.week.accesskey;"
+ type="radio"
+ name="calendarMenuViews"
+ command="calendar_week-view_command"/>
+ <menuitem id="calChangeViewMultiweek"
+ label="&lightning.toolbar.multiweek.label;"
+ accesskey="&lightning.toolbar.multiweek.accesskey;"
+ type="radio"
+ name="calendarMenuViews"
+ command="calendar_multiweek-view_command"/>
+ <menuitem id="calChangeViewMonth"
+ label="&lightning.toolbar.month.label;"
+ accesskey="&lightning.toolbar.month.accesskey;"
+ type="radio"
+ name="calendarMenuViews"
+ command="calendar_month-view_command"/>
+ <menuseparator id="calBeforeCalendarViewSection"/>
+ <menu id="calCalendarPaneMenu"
+ label="&lightning.toolbar.calendarmenu.label;"
+ accesskey="&lightning.toolbar.calendarmenu.accesskey;">
+ <menupopup id="calCalendarPanePopup"
+ onpopupshowing="initViewCalendarPaneMenu()">
+ <menuitem id="calViewCalendarPane"
+ type="checkbox"
+ label="&lightning.toolbar.calendarpane.label;"
+ accesskey="&lightning.toolbar.calendarpane.accesskey;"
+ command="calendar_toggle_calendarsidebar_command"/>
+ <menuseparator id="calCalendarPaneMenuSeparator"/>
+ <menuitem id="calTasksViewMinimonth"
+ type="checkbox"
+ label="&calendar.tasks.view.minimonth.label;"
+ accesskey="&calendar.tasks.view.minimonth.accesskey;"
+ command="calendar_toggle_minimonthpane_command"/>
+ <menuitem id="calTasksViewCalendarlist"
+ type="checkbox"
+ label="&calendar.tasks.view.calendarlist.label;"
+ accesskey="&calendar.tasks.view.calendarlist.accesskey;"
+ command="calendar_toggle_calendarlist_command"/>
+ </menupopup>
+ </menu>
+ <menuseparator id="calBeforeCurrentViewMenu"/>
+ <menu id="calCalendarCurrentViewMenu"
+ observes="calendar_mode_calendar"
+ label="&showCurrentView.label;"
+ accesskey="&showCurrentView.accesskey;">
+ <menupopup id="calCalendarCurrentViewMenuPopup">
+ <menuitem type="checkbox"
+ id="calWorkdaysOnlyMenuitem"
+ label="&calendar.onlyworkday.checkbox.label;"
+ accesskey="&calendar.onlyworkday.checkbox.accesskey;"
+ command="calendar_toggle_workdays_only_command"/>
+ <menuitem type="checkbox"
+ id="calTasksInViewMenuitem"
+ label="&calendar.displaytodos.checkbox.label;"
+ accesskey="&calendar.displaytodos.checkbox.accesskey;"
+ command="calendar_toggle_tasks_in_view_command"/>
+ <menuitem type="checkbox"
+ id="calShowCompletedInViewMenuItem"
+ label="&calendar.completedtasks.checkbox.label;"
+ accesskey="&calendar.completedtasks.checkbox.accesskey;"
+ command="calendar_toggle_show_completed_in_view_command"/>
+ <menuitem type="checkbox"
+ id="calViewRotated"
+ label="&calendar.orientation.label;"
+ accesskey="&calendar.orientation.accesskey;"
+ command="calendar_toggle_orientation_command"/>
+ </menupopup>
+ </menu>
+ </menupopup>
+</menu>
+<menu id="calTasksMenu"
+ class="hide-when-calendar-deactivated"
+ observes="calendar_mode_task"
+ label="&lightning.menu.view.tasks.label;"
+ accesskey="&lightning.menu.view.tasks.accesskey;">
+ <menupopup id="calTasksMenuPopup">
+ <menuitem id="calTasksViewFilterTasks"
+ type="checkbox"
+ label="&calendar.tasks.view.filtertasks.label;"
+ accesskey="&calendar.tasks.view.filtertasks.accesskey;"
+ command="calendar_toggle_filter_command"/>
+ <menuseparator id="calTasksViewSeparator"/>
+ <menuitem id="calTasksViewFilterCurrent"
+ name="filtergroup"
+ value="throughcurrent"
+ type="radio"
+ command="calendar_task_filter_command"
+ label="&calendar.task.filter.current.label;"
+ accesskey="&calendar.task.filter.current.accesskey;"/>
+ <menuitem id="calTasksViewFilterToday"
+ name="filtergroup"
+ value="throughtoday"
+ type="radio"
+ command="calendar_task_filter_command"
+ label="&calendar.task.filter.today.label;"
+ accesskey="&calendar.task.filter.today.accesskey;"/>
+ <menuitem id="calTasksViewFilterNext7days"
+ name="filtergroup"
+ value="throughsevendays"
+ type="radio"
+ command="calendar_task_filter_command"
+ label="&calendar.task.filter.next7days.label;"
+ accesskey="&calendar.task.filter.next7days.accesskey;"/>
+ <menuitem id="calTasksViewFilterNotstartedtasks"
+ name="filtergroup"
+ value="notstarted"
+ type="radio"
+ command="calendar_task_filter_command"
+ label="&calendar.task.filter.notstarted.label;"
+ accesskey="&calendar.task.filter.notstarted.accesskey;"/>
+ <menuitem id="calTasksViewFilterOverdue"
+ name="filtergroup"
+ value="overdue"
+ type="radio"
+ command="calendar_task_filter_command"
+ label="&calendar.task.filter.overdue.label;"
+ accesskey="&calendar.task.filter.overdue.accesskey;"/>
+ <menuitem id="calTasksViewFilterCompleted"
+ name="filtergroup"
+ type="radio"
+ value="completed"
+ command="calendar_task_filter_command"
+ label="&calendar.task.filter.completed.label;"
+ accesskey="&calendar.task.filter.completed.accesskey;"/>
+ <menuitem id="calTasksViewFilterOpen"
+ name="filtergroup"
+ type="radio"
+ value="open"
+ command="calendar_task_filter_command"
+ label="&calendar.task.filter.open.label;"
+ accesskey="&calendar.task.filter.open.accesskey;"/>
+ <menuitem id="calTasksViewFilterAll"
+ name="filtergroup"
+ value="all"
+ type="radio"
+ command="calendar_task_filter_command"
+ label="&calendar.task.filter.all.label;"
+ accesskey="&calendar.task.filter.all.accesskey;"/>
+ </menupopup>
+</menu>