<dfl:part name="Ausstellung">
<!-- Link zum Ausstellungsdokument in Lightbox, wenn eines vorhanden ist (=augmentierte AUS-Nr. in Feld a7600 vorhanden. Sonst Anzeige von a7790 ohne Link. -->
<dfl:if test="(self::obj[a7790])[last()]/a7790 or (self::obj[a7795])[last()]/a7795">
<dfl:li class="Bausteine Ausstellung">
<span class="gridLeft">
<dfl:text>Ausstellungen:</dfl:text>
</span>
<span class="gridRight">
<!-- FM20170517: ersetzt wurde
<dfl:for-each select="(self::obj[a7790])[last()]/a7790">
<dfl:augmentableDetail detail="ausdocument" select="a7600" action="toggleDetail" class="ssy_detail_inline detail_doc">
<dfl:actionParam name="part" select="$ETEVariables/part"/>
<dfl:actionParam name="medium" select="$ETEVariables/medium"/>
<dfl:wrap>{self::a7790>>a7600}</dfl:wrap>
</dfl:augmentableDetail>
<dfl:if test="self::a7790|a7600 and (self::obj[a7798])[last()]/a7798[!=-]">
<dfl:text>;</dfl:text>
</dfl:if>
<dfl:wrap>{(self::obj[a7798])[last()]/a7798[!=-]}</dfl:wrap>
<dfl:if test="position()=last() and ../a7795">
<br/>
<dfl:wrap>{../a7795}</dfl:wrap>
</dfl:if>
<dfl:augmentedDetail detail="ausdocument" select="a7790" template="Ausstellungs-Dokument" jump="no"/>
<dfl:if test="position()!=last()">
<br/>
</dfl:if>
</dfl:for-each>
-->
<dfl:for-each select="(self::obj[a7790])[last()]/a7790">
<dfl:choose>
<dfl:when test="$Status.SearchMode='pic'">
<dfl:augmentableDetail detail="ausdocument1pic" select="a7600" action="toggleDetailMedium" class="ssy_detail_inline detail_doc">
<dfl:actionParam name="part" select="$ETEVariables/part"/>
<dfl:actionParam name="medium" select="$ETEVariables/medium"/>
<dfl:actionParam name="id" select="$ETEVariables/id"/>
<dfl:wrap>{self::a7790>>a7600}</dfl:wrap>
</dfl:augmentableDetail>
</dfl:when>
<dfl:otherwise>
<dfl:augmentableDetail detail="ausdocument1" select="a7600" action="toggleDetail" class="ssy_detail_inline detail_doc">
<dfl:actionParam name="part" select="$ETEVariables/part"/>
<dfl:actionParam name="medium" select="$ETEVariables/medium"/>
<dfl:wrap>{self::a7790>>a7600}</dfl:wrap>
</dfl:augmentableDetail>
</dfl:otherwise>
</dfl:choose>
<dfl:if test="self::a7790|a7600 and (self::obj[a7798])[last()]/a7798[!=-]">
<dfl:text>;</dfl:text>
</dfl:if>
<dfl:wrap>{(self::obj[a7798])[last()]/a7798[!=-]}</dfl:wrap>
<dfl:augmentedDetail detail="ausdocument1" select="a7790" template="Ausstellungs-Dokument" jump="no"/>
<dfl:augmentedDetail detail="ausdocument1pic" select="a7790" template="Ausstellungs-Dokument" jump="no"/>
<br/>
</dfl:for-each>
<dfl:for-each select="(self::obj[a7795])[last()]/a7795">
<dfl:wrap>{self::a7795}</dfl:wrap>
<br/>
</dfl:for-each>
</span>
</dfl:li>
</dfl:if>
</dfl:part>