Changeset 1117
- Timestamp:
- 12/05/06 17:05:10
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r1116 r1117 1291 1291 <th colspan="2" class="commonHeader"> 1292 1292 <div id="eventActions"> 1293 <!-- download --> 1293 1294 <xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> 1294 1295 <a href="{$export}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&skinName=ical&contentType=text/calendar&contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 1295 1296 <img src="{$resourcesRoot}/resources/std-icalDownload-icon-small.gif" width="12" height="16" border="0" alt="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"/> 1296 1297 Download 1297 </a> | 1298 <xsl:choose> 1299 <xsl:when test="recurring='true'"> 1300 <xsl:choose> 1301 <xsl:when test="recurrenceId != ''"> 1302 Remove: 1303 <a href="{$delEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}"> 1304 <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete"/> 1305 all 1306 </a> 1307 <a href="{$delEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 1308 <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete"/> 1309 this instance 1310 </a> 1311 </xsl:when> 1312 <xsl:otherwise> 1313 <a href="{$delEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 1314 <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete"/> 1315 Remove 1316 </a> 1317 </xsl:otherwise> 1318 </xsl:choose> 1319 </xsl:when> 1320 <xsl:when test="currentAccess/current-user-privilege-set/privilege/write-content"> 1321 <xsl:choose> 1322 <xsl:when test="recurring='true'"> 1323 Edit: 1324 <a href="{$editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}"> 1325 <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit"/> 1326 master event 1327 </a> 1328 <a href="{$editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 1329 <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit"/> 1330 this instance 1331 </a> 1332 </xsl:when> 1333 <xsl:otherwise> 1334 <a href="{$editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}"> 1335 <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit"/> 1336 Edit 1337 </a> 1338 </xsl:otherwise> 1339 </xsl:choose> 1340 </xsl:when> 1341 <xsl:otherwise> 1342 <a href="{$subscriptions-fetch}"> 1343 <img src="{$resourcesRoot}/resources/std-ical_iconSubsDkGray.gif" width="12" height="16" border="0" alt="edit"/> 1344 Manage Subscriptions 1345 </a> 1346 </xsl:otherwise> 1347 </xsl:choose> 1348 <xsl:if test="currentAccess/current-user-privilege-set/privilege/unbind and not(isAnnotation)"> 1349 | 1298 </a> 1299 <xsl:if test="currentAccess/current-user-privilege-set/privilege/write-content"> 1350 1300 <xsl:choose> 1351 1301 <xsl:when test="recurring='true'"> 1302 Edit: 1303 <a href="{$editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}"> 1304 <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit master"/> 1305 master event 1306 </a> 1307 <a href="{$editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 1308 <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit instance"/> 1309 this instance 1310 </a> 1311 </xsl:when> 1312 <xsl:otherwise> 1313 <a href="{$editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}"> 1314 <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit"/> 1315 Edit 1316 </a> 1317 </xsl:otherwise> 1318 </xsl:choose> 1319 </xsl:if> 1320 <xsl:if test="currentAccess/current-user-privilege-set/privilege/unbind and not(isAnnotation)"> 1321 <xsl:choose> 1322 <xsl:when test="recurring='true'"> 1323 Delete: 1352 1324 <a href="{$delEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}"> 1353 <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete"/> 1354 Delete All (recurring) 1325 <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete all"/> 1326 all 1327 </a> 1328 <a href="{$delEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 1329 <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete instance"/> 1330 this instance 1355 1331 </a> 1356 1332 </xsl:when> … … 1363 1339 </xsl:choose> 1364 1340 </xsl:if> 1341 <xsl:if test="calendar/owner != /bedework/userid and not(isAnnotation)"> 1342 <xsl:variable name="subname" select="subscription/name"/> 1343 <a href="{$subscriptions-fetchForUpdate}&subname={$subname}"> 1344 <img src="{$resourcesRoot}/resources/std-ical_iconSubsDkGray.gif" width="12" height="16" border="0" alt="manage subscription"/> 1345 Subscription 1346 </a> 1347 </xsl:if> 1365 1348 </div> 1349 <!-- Display type of event --> 1350 <xsl:if test="recurring='true'"> 1351 Recurring 1352 </xsl:if> 1366 1353 <xsl:choose> 1367 <xsl:when test="recurring='true'">1368 Recurring Event1369 </xsl:when>1370 1354 <xsl:when test="calendar/owner = /bedework/userid"> 1371 1355 Personal Event 1372 1356 </xsl:when> 1357 <xsl:when test="public = 'true'"> 1358 Public Event 1359 </xsl:when> 1360 <xsl:otherwise> 1361 Event 1362 </xsl:otherwise> 1363 <!-- 1373 1364 <xsl:when test="starts-with(calendar/path,'/user/')"> 1374 1365 User Event (<xsl:value-of select="calendar/owner"/>) … … 1386 1377 </xsl:otherwise> 1387 1378 </xsl:choose> 1388 </xsl:otherwise> 1379 </xsl:otherwise>--> 1389 1380 </xsl:choose> 1390 1381 </th> … … 1417 1408 <xsl:text> </xsl:text> 1418 1409 -- 1419 <strong>Local time</strong> 1410 <strong> 1411 <xsl:choose> 1412 <xsl:when test="start/floating = 'true'"> 1413 Floating time 1414 </xsl:when> 1415 <xsl:otherwise> 1416 Local time 1417 </xsl:otherwise> 1418 </xsl:choose> 1419 </strong> 1420 1420 <br/> 1421 1421 </xsl:if> 1422 <!-- display in timezone if not local -->1423 <xsl:if test="start/timezone/islocal = 'false' ">1422 <!-- display in timezone if not local or floating time) --> 1423 <xsl:if test="start/timezone/islocal = 'false' and start/floating = 'false'"> 1424 1424 <xsl:value-of select="start/timezone/dayname"/>, <xsl:value-of select="start/timezone/longdate"/><xsl:text> </xsl:text> 1425 1425 <xsl:if test="start/allday = 'false'"> trunk/deployment/webuser/webapp/resources/demoskins/default/default/errors.xsl
r1104 r1117 54 54 <p>You must supply the following field: <em><xsl:value-of select="param"/></em></p> 55 55 </xsl:when> 56 <xsl:when test="id='org.bedework.client.error.missingfield'"> 57 <p>You must supply the following field: <em><xsl:value-of select="param"/></em></p> 58 </xsl:when> 56 59 <xsl:when test="id='org.bedework.client.error.calendar.referenced'"> 57 60 <p>Cannot delete: calendar contains events.</p>
