|
31 | 31 | <thead> |
32 | 32 | <tr> |
33 | 33 | <th><xsl:copy-of select="$bwStr-EvLC-Title"/></th> |
| 34 | + <xsl:choose> |
| 35 | + <xsl:when test="$suggestionQueue = 'true'"> |
| 36 | + <th><xsl:copy-of select="$bwStr-EvLC-AcceptQ"/></th> |
| 37 | + </xsl:when> |
| 38 | + <xsl:otherwise><th><xsl:text> </xsl:text></th></xsl:otherwise> |
| 39 | + </xsl:choose> |
34 | 40 | <xsl:if test="$pending = 'true'"> |
35 | 41 | <th><xsl:copy-of select="$bwStr-EvLC-CalSuite"/></th> |
36 | 42 | <th><xsl:copy-of select="$bwStr-EvLC-ClaimedBy"/></th> |
|
48 | 54 | </xsl:if> |
49 | 55 | <th><xsl:copy-of select="$bwStr-EvLC-Author"/></th> |
50 | 56 | <th><xsl:copy-of select="$bwStr-EvLC-Description"/></th> |
51 | | - <xsl:choose> |
52 | | - <xsl:when test="$suggestionQueue = 'true'"> |
53 | | - <th>Accept?</th> |
54 | | - </xsl:when> |
55 | | - <xsl:otherwise><th><xsl:text> </xsl:text></th></xsl:otherwise> |
56 | | - </xsl:choose> |
57 | 57 | </tr> |
58 | 58 | </thead> |
59 | 59 | <tbody id="commonListTableBody"> |
|
223 | 223 | </xsl:otherwise> |
224 | 224 | </xsl:choose> |
225 | 225 | </td> |
| 226 | + <td> |
| 227 | + <xsl:if test="recurring = 'true' or recurrenceId != ''"> |
| 228 | + <div class="recurrenceEditLinks"> |
| 229 | + <button type="button" class="next" onclick="location.href='{$event-fetchForUpdate}&calPath={$calPath}&guid={$guid}'"> |
| 230 | + <xsl:copy-of select="$bwStr-EvLC-Master"/> |
| 231 | + </button> |
| 232 | + </div> |
| 233 | + </xsl:if> |
| 234 | + <xsl:if test="(($pending = 'true') and ($approverUser = 'true'))"> |
| 235 | + <div class="recurrenceEditLinks"> |
| 236 | + <xsl:choose> |
| 237 | + <xsl:when test="$claimedPending = 'true'"> |
| 238 | + <button type="button" class="next" onclick="location.href='{$event-fetchForApprovePublish}&calPath={$calPath}&guid={$guid}'"> |
| 239 | + <xsl:copy-of select="$bwStr-EvLC-ApproveDDD"/> |
| 240 | + </button> |
| 241 | + </xsl:when> |
| 242 | + <xsl:otherwise> |
| 243 | + <xsl:copy-of select="$bwStr-EvLC-ClaimBeforeApprove"/> |
| 244 | + </xsl:otherwise> |
| 245 | + </xsl:choose> |
| 246 | + </div> |
| 247 | + </xsl:if> |
| 248 | + <xsl:if test="(($approvalQueue = 'true') and ($approverUser = 'true'))"> |
| 249 | + <div class="recurrenceEditLinks"> |
| 250 | + <button type="button" class="next" onclick="location.href='{$event-fetchForApprovePublish}&calPath={$calPath}&guid={$guid}'"> |
| 251 | + <xsl:copy-of select="$bwStr-EvLC-ApproveDDD"/> |
| 252 | + </button> |
| 253 | + </div> |
| 254 | + </xsl:if> |
| 255 | + <xsl:if test="$suggestionQueue = 'true'"> |
| 256 | + <xsl:variable name="actionPrefix"><xsl:value-of select="$suggest-setStatus"/>&calPath=<xsl:value-of select="$calPath"/>&guid=<xsl:value-of select="$guid"/>&recurrenceId=<xsl:value-of select="$recurrenceId"/></xsl:variable> |
| 257 | + <button onclick="setSuggestionRowStatus('accept','{$actionPrefix}','suggestionRow{$i}','{$bwStr-EvLC-NoEvents}')"> |
| 258 | + <xsl:value-of select="$bwStr-SEBu-Accept"/> |
| 259 | + </button> |
| 260 | + <button onclick="setSuggestionRowStatus('reject','{$actionPrefix}','suggestionRow{$i}','{$bwStr-EvLC-NoEvents}')"> |
| 261 | + <xsl:value-of select="$bwStr-SEBu-Reject"/> |
| 262 | + </button> |
| 263 | + </xsl:if> |
| 264 | + </td> |
226 | 265 | <xsl:if test="$pending = 'true'"> |
227 | 266 | <td> |
228 | 267 | <xsl:value-of select="calSuite"/> |
|
364 | 403 | <xsl:value-of select="substring(created,10,2)"/>:<xsl:value-of select="substring(created,12,2)"/> utc |
365 | 404 | </div> |
366 | 405 | </td> |
367 | | - <td> |
368 | | - <xsl:if test="recurring = 'true' or recurrenceId != ''"> |
369 | | - <div class="recurrenceEditLinks"> |
370 | | - <button type="button" class="next" onclick="location.href='{$event-fetchForUpdate}&calPath={$calPath}&guid={$guid}'"> |
371 | | - <xsl:copy-of select="$bwStr-EvLC-Master"/> |
372 | | - </button> |
373 | | - </div> |
374 | | - </xsl:if> |
375 | | - <xsl:if test="(($pending = 'true') and ($approverUser = 'true'))"> |
376 | | - <div class="recurrenceEditLinks"> |
377 | | - <xsl:choose> |
378 | | - <xsl:when test="$claimedPending = 'true'"> |
379 | | - <button type="button" class="next" onclick="location.href='{$event-fetchForApprovePublish}&calPath={$calPath}&guid={$guid}'"> |
380 | | - <xsl:copy-of select="$bwStr-EvLC-ApproveDDD"/> |
381 | | - </button> |
382 | | - </xsl:when> |
383 | | - <xsl:otherwise> |
384 | | - <xsl:copy-of select="$bwStr-EvLC-ClaimBeforeApprove"/> |
385 | | - </xsl:otherwise> |
386 | | - </xsl:choose> |
387 | | - </div> |
388 | | - </xsl:if> |
389 | | - <xsl:if test="(($approvalQueue = 'true') and ($approverUser = 'true'))"> |
390 | | - <div class="recurrenceEditLinks"> |
391 | | - <button type="button" class="next" onclick="location.href='{$event-fetchForApprovePublish}&calPath={$calPath}&guid={$guid}'"> |
392 | | - <xsl:copy-of select="$bwStr-EvLC-ApproveDDD"/> |
393 | | - </button> |
394 | | - </div> |
395 | | - </xsl:if> |
396 | | - <xsl:if test="$suggestionQueue = 'true'"> |
397 | | - <xsl:variable name="actionPrefix"><xsl:value-of select="$suggest-setStatus"/>&calPath=<xsl:value-of select="$calPath"/>&guid=<xsl:value-of select="$guid"/>&recurrenceId=<xsl:value-of select="$recurrenceId"/></xsl:variable> |
398 | | - <button onclick="setSuggestionRowStatus('accept','{$actionPrefix}','suggestionRow{$i}','{$bwStr-EvLC-NoEvents}')"> |
399 | | - <xsl:value-of select="$bwStr-SEBu-Accept"/> |
400 | | - </button> |
401 | | - <button onclick="setSuggestionRowStatus('reject','{$actionPrefix}','suggestionRow{$i}','{$bwStr-EvLC-NoEvents}')"> |
402 | | - <xsl:value-of select="$bwStr-SEBu-Reject"/> |
403 | | - </button> |
404 | | - </xsl:if> |
405 | | - </td> |
406 | 406 | </tr> |
407 | 407 | </xsl:template> |
408 | 408 |
|
|
0 commit comments