Changeset 1538

Show
Ignore:
Timestamp:
08/24/07 12:06:39
Author:
johnsa
Message:

user client: provide link to manage underlying subscription only for public subscriptions

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl

    r1536 r1538  
    11121112      </xsl:choose> 
    11131113    </xsl:if> 
    1114     <xsl:if test="subscription and owner != /bedework/userid"> 
     1114    <xsl:if test="owner != /bedework/userid and public='true'"> 
     1115            <!-- provide this link for public subscriptions; subscriptions to user calendars are 
     1116                 currently too confusing since the current user may be able to add events to the  
     1117                 other calendar, making the ownership test a bad test --> 
    11151118      <xsl:variable name="subname" select="subscription/name"/> 
    11161119      <a href="{$subscriptions-fetchForUpdate}&amp;subname={$subname}" title="manage/view subscription"> 
     
    15111514              </xsl:choose> 
    15121515            </xsl:if> 
    1513             <xsl:if test="subscription and owner != /bedework/userid"> 
     1516            <xsl:if test="owner != /bedework/userid and public='true'"> 
     1517            <!-- provide this link for public subscriptions; subscriptions to user calendars are 
     1518                 currently too confusing since the current user may be able to add events to the  
     1519                 other calendar, making the ownership test a bad test --> 
    15141520              | 
    15151521              <xsl:variable name="subname" select="subscription/name"/>