Changeset 1120
- Timestamp:
- 12/07/06 16:49:15
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
r1115 r1120 1275 1275 1276 1276 <table class="eventFormTable"> 1277 1278 1277 <tr> 1279 1278 <th> trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r1118 r1120 973 973 <xsl:variable name="recurrenceId" select="recurrenceId"/> 974 974 <xsl:if test="currentAccess/current-user-privilege-set/privilege/write-content"> 975 <xsl:choose> 976 <xsl:when test="recurring='true'"> 977 Edit: 978 <a href="{$editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}"> 979 master event 980 </a> 981 <a href="{$editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 982 this instance 983 </a> 984 </xsl:when> 985 <xsl:otherwise> 986 <a href="{$editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}"> 987 Edit 988 </a> 989 </xsl:otherwise> 990 </xsl:choose> 991 | 992 </xsl:if> 993 <xsl:if test="owner != /bedework/userid"> 994 <xsl:choose> 995 <xsl:when test="recurring='true'"> 996 Annotate: 997 <a href="{$editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}"> 998 master event 999 </a> 1000 <a href="{$editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 1001 this instance 1002 </a> 1003 </xsl:when> 1004 <xsl:otherwise> 1005 <a href="{$editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}"> 1006 Annotate 1007 </a> 1008 </xsl:otherwise> 1009 </xsl:choose> 1010 | 1011 </xsl:if> 1012 <xsl:if test="owner != /bedework/userid"> 1013 <xsl:variable name="subname" select="subscription/name"/> 1014 <a href="{$subscriptions-fetchForUpdate}&subname={$subname}"> 1015 Subscription 1016 </a> 1017 | 1018 </xsl:if> 975 1019 <xsl:choose> 976 1020 <xsl:when test="recurring='true'"> 977 Edit:978 <a href="{$ editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}">979 master event1021 Delete: 1022 <a href="{$delEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}"> 1023 all 980 1024 </a> 981 <a href="{$ editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}">1025 <a href="{$delEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 982 1026 this instance 983 1027 </a> 984 1028 </xsl:when> 985 1029 <xsl:otherwise> 986 <a href="{$ editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}">987 Edit1030 <a href="{$delEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 1031 Delete 988 1032 </a> 989 1033 </xsl:otherwise> 990 1034 </xsl:choose> 991 |992 </xsl:if>993 <xsl:if test="owner != /bedework/userid">994 <xsl:choose>995 <xsl:when test="recurring='true'">996 Annotate:997 <a href="{$editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}">998 master event999 </a>1000 <a href="{$editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}">1001 this instance1002 </a>1003 </xsl:when>1004 <xsl:otherwise>1005 <a href="{$editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}">1006 Annotate1007 </a>1008 </xsl:otherwise>1009 </xsl:choose>1010 |1011 </xsl:if>1012 <xsl:if test="owner != /bedework/userid">1013 <xsl:variable name="subname" select="subscription/name"/>1014 <a href="{$subscriptions-fetchForUpdate}&subname={$subname}">1015 Subscription1016 </a>1017 |1018 </xsl:if>1019 <xsl:choose>1020 <xsl:when test="recurring='true'">1021 Delete:1022 <a href="{$delEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}">1023 all1024 </a>1025 <a href="{$delEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}">1026 this instance1027 </a>1028 </xsl:when>1029 <xsl:otherwise>1030 <a href="{$delEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}">1031 Delete1032 </a>1033 </xsl:otherwise>1034 </xsl:choose>1035 1035 </xsl:template> 1036 1036 … … 1323 1323 </a> 1324 1324 <xsl:if test="currentAccess/current-user-privilege-set/privilege/write-content"> 1325 | 1325 1326 <xsl:choose> 1326 1327 <xsl:when test="recurring='true'"> 1328 <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit master"/> 1327 1329 Edit: 1328 1330 <a href="{$editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}"> 1329 <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit master"/>1330 1331 master event 1331 1332 </a> 1332 1333 <a href="{$editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 1333 <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit instance"/>1334 1334 this instance 1335 1335 </a> … … 1344 1344 </xsl:if> 1345 1345 <xsl:if test="owner != /bedework/userid"> 1346 | 1346 1347 <xsl:choose> 1347 1348 <xsl:when test="recurring='true'"> 1349 <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit master"/> 1348 1350 Annotate: 1349 1351 <a href="{$editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}"> 1350 <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit master"/>1351 1352 master event 1352 1353 </a> 1353 1354 <a href="{$editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 1354 <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit instance"/>1355 1355 this instance 1356 1356 </a> … … 1365 1365 </xsl:if> 1366 1366 <xsl:if test="owner != /bedework/userid"> 1367 | 1367 1368 <xsl:variable name="subname" select="subscription/name"/> 1368 1369 <a href="{$subscriptions-fetchForUpdate}&subname={$subname}"> … … 1371 1372 </a> 1372 1373 </xsl:if> 1374 | 1373 1375 <xsl:choose> 1374 1376 <xsl:when test="recurring='true'"> 1377 <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete all"/> 1375 1378 Delete: 1376 1379 <a href="{$delEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}"> 1377 <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete all"/>1378 1380 all 1379 1381 </a> 1380 1382 <a href="{$delEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 1381 <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete instance"/>1382 1383 this instance 1383 1384 </a> … … 1755 1756 </xsl:otherwise> 1756 1757 </xsl:choose> 1757 all day event<br/> 1758 all day event 1759 <input type="checkbox" name="floating" onclick="swapFloatingTime(this)" value="off"/> 1760 floating 1761 <input type="checkbox" name="floating" onclick="swapFloatingTime(this)" value="off"/> 1762 store as UTC 1763 <br/> 1758 1764 <div class="dateStartEndBox"> 1759 1765 <strong>Start:</strong>
