Changeset 7743

Show
Ignore:
Timestamp:
06/11/09 17:32:10 (14 months ago)
Author:
ssterling
Message:

On the Browse Issue page, fixed the ToC article group headers so they match the type of articles in the group that they head.

Addresses #1337

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • head/ambra/webapp/src/main/webapp/article/browseIssue.ftl

    r7742 r7743  
    8181      <div id="issueImage"> 
    8282        <div id="thumbnail"> 
    83         <a href="${imageLgURL}" onclick="window.open(this.href,'ambraSlideshow','directories=no,location=no,menubar=no,resizable=yes,status=no,scrollbars=yes,toolbar=no,height=600,width=850');return false;"> 
    84                 <img alt="Issue Image" src="${imageSmURL}"/> 
    85           </a> 
    86           <a href="${imageLgURL}" onclick="window.open(this.href,'ambraSlideshow','directories=no,location=no,menubar=no,resizable=yes,status=no,scrollbars=yes,toolbar=no,height=600,width=850');return false;"> 
    87                 View large image 
    88           </a> 
     83  <a href="${imageLgURL}" onclick="window.open(this.href,'ambraSlideshow','directories=no,location=no,menubar=no,resizable=yes,status=no,scrollbars=yes,toolbar=no,height=600,width=850');return false;"> 
     84      <img alt="Issue Image" src="${imageSmURL}"/> 
     85    </a> 
     86    <a href="${imageLgURL}" onclick="window.open(this.href,'ambraSlideshow','directories=no,location=no,menubar=no,resizable=yes,status=no,scrollbars=yes,toolbar=no,height=600,width=850');return false;"> 
     87      View large image 
     88    </a> 
    8989        </div> 
    9090        <h3>About This Image</h3> 
     
    9898        <a id="${articleGrp.id}" class="noshow" title="${articleGrp.heading}">&nbsp;</a> 
    9999        <#if (articleGrp.count > 1)> 
    100           <#if articleGrp.pluralHeading??> 
    101             <#assign articleHeader="${articleGrp.pluralHeading}"> 
    102           </#if> 
    103         </#if> 
    104         <#if !articleHeader??> 
    105           <#assign articleHeader="${articleGrp.heading}"> 
     100          <#assign articleHeader="${articleGrp.pluralHeading!articleGrp.heading!'No Header Defined'}"> 
     101        <#else> 
     102          <#assign articleHeader="${articleGrp.heading!'No Header Defined'}"> 
    106103        </#if> 
    107104        <h2>${articleHeader!"No Header Defined"}</h2> 
     
    111108            <h3><@s.a href="%{fetchArticleURL}" title="Read Open Access Article"><@articleFormat>${articleInfo.title}</@articleFormat></@s.a></h3> 
    112109            <p class="authors"><#list articleInfo.authors as auth><#if auth_index gt 0>, </#if>${auth?trim}</#list></p> 
    113             <@related articleInfo=articleInfo/> 
     110            <@related articleInfo=articleInfo/> 
    114111            <#if articleInfo.corrections?? && (articleInfo.corrections?size > 0)> 
    115112              <div class="fch">