Changeset 334
- Timestamp:
- 04/05/06 16:32:28
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r332 r334 727 727 <xsl:variable name="recurrenceId" select="recurrenceId"/> 728 728 <xsl:choose> 729 <xsl:when test="kind='0'"> 729 <xsl:when test="isAnnotation"> 730 <xsl:choose> 731 <xsl:when test="recurring=true"> 732 <a href="{$delEvent}?subid={$subscriptionId}&calid={$calendarId}&guid={$guid}&confirmationid={$confId}">Remove All</a> 733 </xsl:when> 734 <xsl:otherwise> 735 <a href="{$delEvent}?subid={$subscriptionId}&calid={$calendarId}&guid={$guid}&recurrenceId={$recurrenceId}&confirmationid={$confId}">Remove</a> 736 </xsl:otherwise> 737 </xsl:choose> 738 </xsl:when> 739 <xsl:when test="calendar/owner = /bedework/userid"> 730 740 <a href="{$editEvent}?subid={$subscriptionId}&calid={$calendarId}&guid={$guid}&recurrenceId={$recurrenceId}">Edit</a> | 731 741 <xsl:choose> … … 738 748 </xsl:choose> 739 749 </xsl:when> 740 <xsl:when test="kind='1'">741 <xsl:choose>742 <xsl:when test="recurring=true">743 <a href="{$delEvent}?subid={$subscriptionId}&calid={$calendarId}&guid={$guid}&confirmationid={$confId}">Remove All</a>744 </xsl:when>745 <xsl:otherwise>746 <a href="{$delEvent}?subid={$subscriptionId}&calid={$calendarId}&guid={$guid}&recurrenceId={$recurrenceId}&confirmationid={$confId}">Remove</a>747 </xsl:otherwise>748 </xsl:choose>749 </xsl:when>750 750 <xsl:otherwise> 751 <a href="{$ fetchPublicCalendars}">Subscription</a>751 <a href="{$subscriptions-fetch}">Subscription</a> 752 752 </xsl:otherwise> 753 753 </xsl:choose> … … 864 864 Type: 865 865 <xsl:choose> 866 <xsl:when test="kind='0'"> 866 <xsl:when test="isAnnotation"> 867 public event 868 </xsl:when> 869 <xsl:when test="calendar/owner = /bedework/userid"> 867 870 personal event, editable 868 </xsl:when>869 <xsl:when test="kind='1'">870 public event871 871 </xsl:when> 872 872 <xsl:otherwise> … … 1017 1017 <div id="eventActions"> 1018 1018 <xsl:choose> 1019 <xsl:when test="kind='0'"> 1019 <xsl:when test="isAnnotation"> 1020 <xsl:choose> 1021 <xsl:when test="recurring=true"> 1022 <a href="{$delEvent}?subid={$subscriptionId}&calid={$calendarId}&guid={$guid}&confirmationid={$confId}"> 1023 Remove All (recurring) 1024 </a> 1025 </xsl:when> 1026 <xsl:otherwise> 1027 <a href="{$delEvent}?subid={$subscriptionId}&calid={$calendarId}&guid={$guid}&recurrenceId={$recurrenceId}&confirmationid={$confId}"> 1028 Remove 1029 </a> 1030 </xsl:otherwise> 1031 </xsl:choose> 1032 </xsl:when> 1033 <xsl:when test="calendar/owner = /bedework/userid"> 1020 1034 <a href="{$editEvent}?subid={$subscriptionId}&calid={$calendarId}&guid={$guid}&recurrenceId={$recurrenceId}&confirmationid={$confId}"> 1021 1035 Edit Event … … 1034 1048 </xsl:choose> 1035 1049 </xsl:when> 1036 <xsl:when test="kind='1'">1037 <xsl:choose>1038 <xsl:when test="recurring=true">1039 <a href="{$delEvent}?subid={$subscriptionId}&calid={$calendarId}&guid={$guid}&confirmationid={$confId}">1040 Remove All (recurring)1041 </a>1042 </xsl:when>1043 <xsl:otherwise>1044 <a href="{$delEvent}?subid={$subscriptionId}&calid={$calendarId}&guid={$guid}&recurrenceId={$recurrenceId}&confirmationid={$confId}">1045 Remove1046 </a>1047 </xsl:otherwise>1048 </xsl:choose>1049 </xsl:when>1050 1050 <xsl:otherwise> 1051 1051 <a href="{$subscriptions-fetch}"> … … 1056 1056 </div> 1057 1057 <xsl:choose> 1058 <xsl:when test="calendar/owner = /bedework/user"> 1058 <xsl:when test="isAnnotation"> 1059 Public Event 1060 </xsl:when> 1061 <xsl:when test="calendar/owner = /bedework/userid"> 1059 1062 Personal Event 1060 1063 </xsl:when> 1061 1064 <xsl:otherwise> 1062 Public Event 1065 Public Event from Subscription 1063 1066 </xsl:otherwise> 1064 1067 </xsl:choose> trunk/calendar3/webclient/war/docs/event/emitEvent.jsp
r313 r334 45 45 <editable><bean:write name="eventInfo" property="editable"/></editable><%-- 46 46 Value: true,false - true if user can edit (and delete) event, false otherwise --%> 47 <logic:present name="event" property="target"> 48 <isAnnotation/> 49 </logic:present> 47 50 <kind><bean:write name="eventInfo" property="kind"/></kind><%-- 48 51 Value: 0 - actual event entry
