mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-17 21:43:22 +01:00
3261906a09
- Implement plus button for calendar views and bring day view action into toolbar header, thanks Christoph Kaulich.
35 lines
917 B
XML
35 lines
917 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
Egroupware
|
|
@license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
@package
|
|
@subpackage
|
|
@link http://www.egroupware.org
|
|
@author Nathan Gray
|
|
@version $Id$
|
|
-->
|
|
|
|
<!DOCTYPE overlay PUBLIC '-//Stylite AG//eTemplate 2//EN' 'http://www.egroupware.org/etemplate2.dtd'>
|
|
|
|
<overlay>
|
|
<template id="calendar.view">
|
|
<grid id="view" width="100%">
|
|
<columns>
|
|
<column/>
|
|
</columns>
|
|
<rows>
|
|
<row class="view_row">
|
|
<calendar-timegrid id="${row}"
|
|
onchange="var state = {}; if(widget.options.start_date == widget.options.end_date) state.view = 'day'; app.calendar.update_state(state);"
|
|
onevent_change="app.calendar.event_change"
|
|
disabled="true"
|
|
>
|
|
</calendar-timegrid>
|
|
</row>
|
|
|
|
</rows>
|
|
</grid>
|
|
<button class="plus_button" id="add" onclick="egw.open(null,'calendar','add')"/>
|
|
</template>
|
|
</overlay>
|