Changeset 1767
- Timestamp:
- 03/13/08 14:36:51
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
releases/bedework-3.4.1/deployment/webuser/webapp/resources/demoskins/default/default/default.css
r1681 r1767 1458 1458 padding: 1em; 1459 1459 } 1460 #bedework #tasks { 1461 margin: 0; 1462 padding: 0; 1463 font-size: 0.9em; 1464 } 1465 #bedework #tasks h3 { 1466 margin: 0; 1467 padding: 2px 4px; 1468 font-size: 1em; 1469 /*background-color: #2B4795;*/ 1470 background-color: #999; 1471 color: #eee; 1472 font-weight: normal; 1473 } 1474 #bedework #tasks .taskDate { 1475 font-size: 0.7em; 1476 margin-left: 1em; 1477 } 1460 1478 /* Calendars and Subscriptions */ 1461 1479 #calendarTable td, releases/bedework-3.4.1/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r1755 r1767 904 904 </tr> 905 905 </xsl:if> 906 <xsl:for-each select="event ">906 <xsl:for-each select="event[not(entityType=2 and start/noStart='true' and end/type='N')]"> 907 907 <xsl:variable name="id" select="id"/> 908 908 <xsl:variable name="subscriptionId" select="subscription/id"/> … … 1052 1052 </xsl:choose> 1053 1053 </table> 1054 <xsl:call-template name="tasks"/> 1054 1055 </xsl:template> 1055 1056 … … 1150 1151 <xsl:if test="event"> 1151 1152 <ul> 1152 <xsl:apply-templates select="event " mode="calendarLayout">1153 <xsl:apply-templates select="event[not(entityType=2 and start/noStart='true' and end/type='N')]" mode="calendarLayout"> 1153 1154 <xsl:with-param name="dayPos" select="$dayPos"/> 1154 1155 </xsl:apply-templates> … … 1160 1161 </tr> 1161 1162 </table> 1163 <xsl:call-template name="tasks"/> 1162 1164 </xsl:template> 1163 1165 … … 1199 1201 <xsl:if test="event"> 1200 1202 <ul> 1201 <xsl:apply-templates select="event " mode="calendarLayout">1203 <xsl:apply-templates select="event[not(entityType=2 and start/noStart='true' and end/type='N')]" mode="calendarLayout"> 1202 1204 <xsl:with-param name="dayPos" select="$dayPos"/> 1203 1205 </xsl:apply-templates> … … 1211 1213 </xsl:for-each> 1212 1214 </table> 1215 <xsl:call-template name="tasks"/> 1213 1216 </xsl:template> 1214 1217 … … 1405 1408 </table> 1406 1409 </td> 1410 </xsl:template> 1411 1412 <!--== TASKS ==--> 1413 <xsl:template name="tasks"> 1414 <xsl:if test="/bedework/eventscalendar//event[entityType=2 and start/noStart='true' and end/type='N']"> 1415 <div id="tasks"> 1416 <h3> 1417 reminders (tasks with no start or end date) 1418 </h3> 1419 <ul class="tasks"> 1420 <xsl:apply-templates select="/bedework/eventscalendar//event[entityType=2 and start/noStart='true' and end/type='N']" mode="tasks"/> 1421 </ul> 1422 </div> 1423 </xsl:if> 1424 </xsl:template> 1425 1426 <xsl:template match="event" mode="tasks"> 1427 <xsl:variable name="subscriptionId" select="subscription/id"/> 1428 <xsl:variable name="calPath" select="calendar/encodedPath"/> 1429 <xsl:variable name="guid" select="guid"/> 1430 <xsl:variable name="recurrenceId" select="recurrenceId"/> 1431 1432 <li> 1433 <a href="{$eventView}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 1434 <xsl:choose> 1435 <xsl:when test="summary = ''"> 1436 <em>no title</em> 1437 </xsl:when> 1438 <xsl:otherwise> 1439 <xsl:value-of select="summary"/> 1440 </xsl:otherwise> 1441 </xsl:choose> 1442 </a> 1443 <xsl:if test="start/noStart = 'false'"> 1444 <span class="taskDate"><xsl:value-of select="start/shortdate"/></span> 1445 </xsl:if> 1446 </li> 1407 1447 </xsl:template> 1408 1448 … … 4489 4529 </div> 4490 4530 <div class="note"> 4491 <p><strong>Note:</strong> If you grant write access to another user, and you wish 4531 <p><strong>Note:</strong> If you grant write access to another user, and you wish 4492 4532 to see events added by that user in your calendar, <strong>you must explicitly 4493 grant yourself access to the same calendar.</strong> Enter your RCS UserID as 4494 a user in the "Who" box with "All" set in the "Rights" box. 4533 grant yourself access to the same calendar.</strong> Enter your RCS UserID as 4534 a user in the "Who" box with "All" set in the "Rights" box. 4495 4535 </p> 4496 4536 <p> 4497 4537 This is standard access control; the reason you will not see the other 4498 user's events without doing this is that the default access is grant:all to 4538 user's events without doing this is that the default access is grant:all to 4499 4539 "owner" - and you don't own the other user's events. 4500 4540 </p> … … 4934 4974 </table> 4935 4975 </form> 4936 4976 4937 4977 <ul class="note" style="margin-left: 2em;"> 4938 4978 <li>The <strong>Name</strong> is anything you want to call your subscription.</li> 4939 4979 <li> 4940 4980 The <strong>Path</strong> is the name of the folder and/or calendar within 4941 the remote user's calendar tree. For example, to subscribe to 4981 the remote user's calendar tree. For example, to subscribe to 4942 4982 bwcal:///user/johnsa/someFolder/someCalendar, enter "someFolder/someCalendar" 4943 4983 </li> 4944 4984 <li> 4945 4985 You must be granted at least read access to the other user's calendar 4946 to subscribe to it. 4986 to subscribe to it. 4947 4987 </li> 4948 4988 </ul>
