Changeset 2033
- Timestamp:
- 01/26/09 13:19:59
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
r2032 r2033 656 656 <td> 657 657 <a href="{$contact-initUpdate}"> 658 <img src="{$resourcesRoot}/resources/bwAdminManageContactsIcon.jpg" width="100" height="73" alt="Manage Events" border="0"/>658 <img src="{$resourcesRoot}/resources/bwAdminManageContactsIcon.jpg" width="100" height="73" alt="Manage Contacts" border="0"/> 659 659 <br/>Manage Contacts 660 660 </a> … … 662 662 <td> 663 663 <a href="{$location-initUpdate}"> 664 <img src="{$resourcesRoot}/resources/bwAdminManageLocsIcon.jpg" width="100" height="73" alt="Manage Events" border="0"/>664 <img src="{$resourcesRoot}/resources/bwAdminManageLocsIcon.jpg" width="100" height="73" alt="Manage Locations" border="0"/> 665 665 <br/>Manage Locations 666 666 </a> … … 671 671 <td> 672 672 <a href="{$category-initUpdate}"> 673 <img src="{$resourcesRoot}/resources/bwAdminManageCatsIcon.jpg" width="100" height="73" alt="Manage Events" border="0"/>673 <img src="{$resourcesRoot}/resources/bwAdminManageCatsIcon.jpg" width="100" height="73" alt="Manage Categories" border="0"/> 674 674 <br/>Manage Categories 675 675 </a> … … 877 877 <th>Start</th> 878 878 <th>End</th> 879 <xsl:choose> 880 <xsl:when test="$pending = 'true'"> 881 <th>Categories</th> 882 </xsl:when> 883 <xsl:otherwise> 884 <th>Calendar</th> 885 </xsl:otherwise> 886 </xsl:choose> 879 <th>Categories</th> 880 <th>Calendar</th> 887 881 <th>Description</th> 888 882 </tr> … … 933 927 </td> 934 928 <td class="calcat"> 935 <xsl:choose> 936 <xsl:when test="$pending = 'true'"> 937 <xsl:for-each select="categories/category"> 938 <xsl:value-of select="word"/><br/> 939 </xsl:for-each> 940 </xsl:when> 941 <xsl:otherwise> 942 <xsl:value-of select="calendar/name"/> 943 </xsl:otherwise> 944 </xsl:choose> 929 <xsl:for-each select="categories/category"> 930 <xsl:value-of select="word"/><br/> 931 </xsl:for-each> 932 </td> 933 <td> 934 <xsl:value-of select="calendar/name"/> 945 935 </td> 946 936 <td> … … 2214 2204 </td> 2215 2205 <td> 2216 <xsl:for-each select="true"> 2217 <input type="checkbox" name="alias" value=""/>Test<br/> 2218 </xsl:for-each> 2206 <ul class="calendarTree"> 2207 <xsl:apply-templates select="form/subscriptions/calsuite/calendars/calendar" mode="showEventFormAliases"> 2208 <xsl:with-param name="root">true</xsl:with-param> 2209 </xsl:apply-templates> 2210 </ul> 2219 2211 </td> 2220 2212 </tr> … … 2380 2372 </xsl:if> 2381 2373 </form> 2374 </xsl:template> 2375 2376 <xsl:template match="calendar" mode="showEventFormAliases"> 2377 <xsl:param name="root">false</xsl:param> 2378 <li> 2379 <xsl:attribute name="class"> 2380 <xsl:choose> 2381 <xsl:when test="calType = 0">folder</xsl:when> 2382 <xsl:otherwise>calendar</xsl:otherwise> 2383 </xsl:choose> 2384 </xsl:attribute> 2385 2386 <xsl:choose> 2387 <xsl:when test="$root = 'true'"> 2388 <!-- treat the root calendar as the root of calendar suite; --> 2389 <strong> 2390 <xsl:value-of select="/bedework/currentCalSuite/name"/> 2391 </strong> 2392 </xsl:when> 2393 <xsl:otherwise> 2394 <input type="checkbox" name="alias"> 2395 <xsl:attribute name="value"><xsl:value-of select="calPath"/></xsl:attribute> 2396 </input> 2397 <xsl:value-of select="name"/> 2398 </xsl:otherwise> 2399 </xsl:choose> 2400 2401 <xsl:if test="calendar"> 2402 <ul> 2403 <xsl:apply-templates select="calendar[isSubscription = 'true' or calType = '0']" mode="showEventFormAliases"/> 2404 </ul> 2405 </xsl:if> 2406 </li> 2382 2407 </xsl:template> 2383 2408 … … 5162 5187 5163 5188 <p> 5164 <input type="button" name="return" value="Add calendar suite" onclick="javascript:location.replace('{$calsuite-showAddForm}')"/> 5189 <input type="button" name="addSuite" value="Add calendar suite" onclick="javascript:location.replace('{$calsuite-showAddForm}')"/> 5190 <input type="button" name="switchGroup" value="Switch group" onclick="javascript:location.replace('{$admingroup-switch}')"/> 5165 5191 </p> 5166 5192
