Changeset 2108
- Timestamp:
- 03/30/09 09:55:17
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
r2106 r2108 235 235 </xsl:comment> 236 236 </script> 237 <!-- Load jQuery when needed --> 238 <xsl:if test="/bedework/page='modEvent' or 239 /bedework/page='modEventPending' or 240 /bedework/page='modSubscription'"> 241 <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-1.2.6.min.js"> </script> 242 <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-ui-1.5.2.min.js"> </script> 243 </xsl:if> 237 244 <xsl:if test="/bedework/page='modEvent' or /bedework/page='modEventPending'"> 238 245 <script type="text/javascript" src="{$resourcesRoot}/resources/bedework.js"> </script> … … 245 252 </xsl:when> 246 253 <xsl:otherwise> 247 <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-1.2.6.min.js"> </script>248 <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-ui-1.5.2.min.js"> </script>249 254 <link rel="stylesheet" href="/bedework-common/javascript/jquery/bedeworkJqueryThemes.css"/> 250 255 <script type="text/javascript"> … … 750 755 <li> 751 756 <a href="{$subscriptions-fetch}" title="subscriptions to calendars"> 752 Manage subscriptions757 Manage topical areas 753 758 </a> 754 759 </li> 755 760 <li> 756 <a href="{$view-fetch}" title="collections of subscriptions">761 <a href="{$view-fetch}" title="collections of topical areas"> 757 762 Manage views 758 763 </a> … … 2250 2255 <!-- Category --> 2251 2256 <!-- 2252 categories will no longer be directly set by the user; they are set2253 by the back-end based on the subscriptions in the calendar suite.2257 categories are no longer be directly set by the event administrator; they are set 2258 by the back-end based on the subscriptions (topical area) in the calendar suite. 2254 2259 A user, therefore, tells the system where they want the event to 2255 show up, and the categories are set for them. --> 2260 show up, and the categories are set for them. To make categories 2261 available to the event administrator --> 2256 2262 <!-- 2257 2263 <tr> … … 4290 4296 <tr> 4291 4297 <td class="cals"> 4292 <h3> Subscription Tree</h3>4298 <h3>Topical Areas</h3> 4293 4299 <ul class="calendarTree"> 4294 4300 <xsl:apply-templates select="calendar" mode="listForUpdateSubscription"> … … 4315 4321 4316 4322 <xsl:template name="subscriptionIntro"> 4317 <h3>Managing Subscriptions</h3>4323 <h3>Managing Topical Areas</h3> 4318 4324 <ul> 4319 <li>Select an item from the tree on the left to modify a subscription.</li>4325 <li>Select an item from the tree on the left to modify a topical area.</li> 4320 4326 <li>Select the 4321 4327 <img src="{$resourcesRoot}/resources/calAddIcon.gif" width="13" height="13" alt="true" border="0"/> 4322 icon to add a new subscriptionto the tree.4328 icon to add a new topical area to the tree. 4323 4329 </li> 4324 4330 </ul> … … 4545 4551 <xsl:choose> 4546 4552 <xsl:when test="canAlias = 'true'"> 4547 <a href="javascript:updatePublicCalendarAlias('{$calPath}','{$calDisplay}',' {$calendarCollection}')">4553 <a href="javascript:updatePublicCalendarAlias('{$calPath}','{$calDisplay}','bw-{$calPath}','{$calendarCollection}')" id="bw-{$calPath}"> 4548 4554 <xsl:value-of select="name"/> 4549 4555 </a> … … 4568 4574 <h2>Manage Views</h2> 4569 4575 <p> 4570 Views are named aggregations of subscriptions used4576 Views are named aggregations of topical areas used 4571 4577 to display sets of events within a calendar suite. 4572 4578 </p> … … 4582 4588 <tr> 4583 4589 <th>Name</th> 4584 <th>Included subscriptions</th>4590 <th>Included topical areas</th> 4585 4591 </tr> 4586 4592 … … 4624 4630 <tr> 4625 4631 <td class="subs"> 4626 <h3>Available Subscriptions:</h3>4632 <h3>Available topical areas:</h3> 4627 4633 4628 4634 <table class="subscriptionsListSubs"> … … 4639 4645 <img src="{$resourcesRoot}/resources/arrowRight.gif" 4640 4646 width="13" height="13" border="0" 4641 alt="add subscription"/>4647 alt="add topical area"/> 4642 4648 </a> 4643 4649 </td> … … 4648 4654 </td> 4649 4655 <td class="view"> 4650 <h3>Active Subscriptions:</h3>4656 <h3>Active topical areas:</h3> 4651 4657 <table class="subscriptionsListView"> 4652 4658 <xsl:for-each select="/bedework/currentView/path"> … … 4658 4664 <img src="{$resourcesRoot}/resources/arrowLeft.gif" 4659 4665 width="13" height="13" border="0" 4660 alt="add subscription"/>4666 alt="add topical area"/> 4661 4667 </a> 4662 4668 </td> trunk/deployment/webadmin/webapp/resources/resources/bedework.js
r2001 r2108 166 166 // used to update a calendar subscription (alias) We must do two things: update the hidden 167 167 // calendar input field and update the displayed text 168 function updatePublicCalendarAlias(newCalPath,calDisplay,cal endarCollection) {168 function updatePublicCalendarAlias(newCalPath,calDisplay,calTreeNodeId,calendarCollection) { 169 169 var calendarAliasHolder = document.getElementById("publicAliasHolder"); 170 170 calendarAliasHolder.value = newCalPath; 171 $('#'+calTreeNodeId).addClass("strong"); 171 172 var bwCalDisplay = document.getElementById("bwPublicCalDisplay"); 172 173 bwCalDisplay.innerHTML = "Selected calendar: <strong>" + calDisplay + "</strong>";
