Add day view on calendar

issue7774
review66441002
This commit is contained in:
Sergi Almacellas Abellana
2019-03-28 12:26:36 +01:00
parent bb0242faf8
commit 74547c4251
4 changed files with 6 additions and 2 deletions
+1
View File
@@ -1,3 +1,4 @@
* Add day view on calendar
* Raise NotImplementedError when setting Function field without setter
* Add exports in view_toolbar_get
* Add resources method to ModelStorage
+2 -1
View File
@@ -804,7 +804,8 @@ Each calendar view must start with this tag.
* ``dtend``: The name of the field that contains the end date.
* ``mode``: An optional name for the view that will be used first.
Available views are: `week` and `month`. The default value is `month`.
Available views are: `day`, `week` and `month`. The default value is
`month`.
* ``color``: An optional field name that contains the text color for the
event. The default value is `black`.
+2 -1
View File
@@ -6,7 +6,8 @@ attlist.calendar &=
attlist.calendar &=
attribute dtend { text }?
attlist.calendar &=
attribute mode { "week"
attribute mode { "day"
| "week"
| "month" }?
attlist.calendar &=
[ a:defaultValue = "black" ] attribute color { text }?
+1
View File
@@ -29,6 +29,7 @@
<attribute>
<name ns="">mode</name>
<choice>
<value>day</value>
<value>week</value>
<value>month</value>
</choice>