Changeset 26351

Show
Ignore:
Timestamp:
18.10.2012 15:35:22 (7 years ago)
Author:
kjdon
Message:

DocType? is a top level metadata. on the search page, we are at page level, so need to test on root DocType? to see if is a niupepa

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/model-cols/niupepa/etc/collectionConfig.xml

    r26341 r26351  
    2424                </gsf:when> 
    2525                <gsf:otherwise> 
    26                     <gsf:icon type="document"/> 
    27                 </gsf:otherwise> 
     26      <gsf:switch> 
     27        <gsf:metadata name="DocType" select="root"/> 
     28        <gsf:when test="equals" test-value="Niupepa"> 
     29          <gsf:icon file="np.gif" select="collection"/> 
     30        </gsf:when> 
     31        <gsf:otherwise> 
     32          <gsf:icon type="document"/> 
     33        </gsf:otherwise> 
     34        </gsf:switch> 
     35      </gsf:otherwise> 
    2836            </gsf:switch> 
    2937        </gsf:template>