Changes between Version 16 and Version 17 of ResourceReservationPlugin
- Timestamp:
- Jan 16, 2016, 7:28:59 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ResourceReservationPlugin
v16 v17 13 13 By default, the macro '''displays an empty calendar''' spanning three months in the future, including the current month. 14 14 You can then: 15 * '''Add a new resource''', by entering the resource name in the edit box and click '''Add a Resource''' 15 * '''Add a new resource''', by entering the resource name in the edit box and click '''Add a Resource'''. 16 16 * '''See who owns a resource''' in any particular date: 17 * A white cell indicates the resource is free at a certain date 18 * A blue cell indicates the resource is reserved by the current user at a certain date 17 * A white cell indicates the resource is free at a certain date. 18 * A blue cell indicates the resource is reserved by the current user at a certain date. 19 19 * A red cell indicates some other user has reserved the resource at a certain date. The name of the user can be seen by hovering with the mouse on the cell. 20 * '''Reserve the resource for any days''' in the calendar, by simply clicking on the corresponding table cell => the information is saved in the database on the fly, no need to save the page. The cell will become blue 21 * '''Cancel a resource reservation''', when it is reserved by you (blue cell), by simply clicking on it again => The cell becomes white again 22 * '''Take on a resource''' reserved by something else (red cell), by simply clicking on the corresponding cell => The cell becomes blue and the resource is immediately assigned to the current user 20 * '''Reserve the resource for any days''' in the calendar, by simply clicking on the corresponding table cell => the information is saved in the database on the fly, no need to save the page. The cell will become blue. 21 * '''Cancel a resource reservation''', when it is reserved by you (blue cell), by simply clicking on it again => The cell becomes white again. 22 * '''Take on a resource''' reserved by something else (red cell), by simply clicking on the corresponding cell => The cell becomes blue and the resource is immediately assigned to the current user. 23 23 24 24 You can edit the default page, changing the macro default parameters: 25 * type: you can define any number of resource types by simply providing a different value for this parameter to any instance of the macro. This way, you can plan the use of different types of resources at the same time, with no conflict between them26 * period: the number of months, including the current one, to display in the calendar27 * title: the title, i.e. descriptive name of the resource type, to be used in the calendar as the header of the resource names column28 * override: true or false. It controls whether clicking on an already-reserved resource you will take ownership of it, overriding the previous reservation25 * `type`: you can define any number of resource types by simply providing a different value for this parameter to any instance of the macro. This way, you can plan the use of different types of resources at the same time, with no conflict between them. 26 * `period`: the number of months, including the current one, to display in the calendar. 27 * `title`: the title, i.e. descriptive name of the resource type, to be used in the calendar as the header of the resource names column. 28 * `override`: true or false. It controls whether clicking on an already-reserved resource you will take ownership of it, overriding the previous reservation. 29 29 30 30 All parameters are optional, with the following default values: 31 * type = defaulttype32 * period = 333 * title = Resource34 * override = true, meaning that anyone can take on a resource reserved by someone else in any day by clicking on it. A value of false means the current owner must first cancel the reservation before anyone else can take the resource.31 * `type = defaulttype` 32 * `period = 3` 33 * `title = Resource` 34 * `override = true`, meaning that anyone can take on a resource reserved by someone else in any day by clicking on it. A value of false means the current owner must first cancel the reservation before anyone else can take the resource. 35 35 36 36 Or you can '''add the following snippet''' in any of your Wiki pages, for example to keep track of multiple resource types in different places. … … 44 44 === Permissions 45 45 46 Two Trac permissions have been added to control access to the resource reservation features .46 Two Trac permissions have been added to control access to the resource reservation features: 47 47 48 48 * `RES_RESERVE_VIEW` is needed to view the resource reservations. … … 53 53 Project site: http://sourceforge.net/projects/resreserv4trac/ 54 54 55 See also project web page on Pypi: [pypi:ResourceReservation]55 See also the [pypi:ResourceReservation project page on Pypi]. 56 56 57 57 == Bugs/Feature Requests