Changeset 26351 for main/trunk


Ignore:
Timestamp:
2012-10-18T15:35:22+13:00 (12 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

File:
1 edited

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>
Note: See TracChangeset for help on using the changeset viewer.