Werk-Unformated-Hersteller

Aus Data-Wiki
<dfl:part name="Werk-Unformated-Hersteller">
			<dfl:if test="self::obj/aob30[a3100]">
				<dfl:for-each select="(self::obj[aob30/a3100])[last()]/aob30[a3100]">
					<dfl:wrap>{self::aob30[!=Herstell*]}</dfl:wrap>
					<dfl:if test="self::aob30[!=Herstell*] and (a31nn or a3100 or a3470 or a3475 or a3496 or a3498)">
						<dfl:text>:</dfl:text>
						<dfl:space/>
					</dfl:if>
					<!-- Link zum Künstlerdokument in Lightbox, wenn eines vorhanden ist (=augmentierte KUE-Nr. in Feld a3000 vorhanden. Sonst Anzeige von a3100 ohne Link. -->
					<dfl:choose>
						<dfl:when test="$Status.SearchMode='pic'">
							<dfl:augmentableDetail detail="kuedocument5pic" select="a3000" 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>{a31nn>>a3100}</dfl:wrap>
							</dfl:augmentableDetail>
						</dfl:when>
						<dfl:otherwise>
							<dfl:augmentableDetail detail="kuedocument5" select="a3000" action="toggleDetail" class="ssy_detail_inline detail_doc">
								<dfl:actionParam name="part" select="$ETEVariables/part"/>
								<dfl:actionParam name="medium" select="$ETEVariables/medium"/>
								<dfl:wrap>{a31nn>>a3100}</dfl:wrap>
							</dfl:augmentableDetail>
						</dfl:otherwise>
					</dfl:choose>
					<!-- FM20170517: Zusatz a3496 -->
					<dfl:if test="a31nn|a3100 and a3470|a3475|a3496|a3498">
						<dfl:text>, </dfl:text>
					</dfl:if>
					<dfl:wrap>{({a3470}), {a3475}, {a3496}, {a3498}}</dfl:wrap>
					<dfl:augmentedDetail detail="kuedocument5" select="a3000" template="Kuenstler-Dokument" jump="no"/>
					<dfl:augmentedDetail detail="kuedocument5pic" select="a3000" template="Kuenstler-Dokument" jump="no"/>
					<dfl:if test="position()!=last()">
						<dfl:if test="not(preceding-sibling::aob30[1]/aob30rl[text()[1]=current()/aob30rl])">
							<dfl:space/>
							<dfl:value-of select="aob30rl"/>
						</dfl:if>
						<dfl:text> - </dfl:text>
					</dfl:if>
				</dfl:for-each>
			</dfl:if>
			<dfl:if test="self::obj/aob30[a3100] and (self::obj/aob35[a3600] or self::obj/a309a[a3090])">
				<dfl:text> - </dfl:text>
			</dfl:if>
			<dfl:for-each select="(self::obj[aob35/a3600])[last()]/aob35[a3600]">
				<dfl:wrap>{self::aob35[!=Herstell*]}</dfl:wrap>
				<dfl:if test="self::aob35[!=Herstell*] and (a3970 or a3975 or a3996 or a3998 or a36nn or a3600 or a3500)">
					<dfl:text>:</dfl:text>
					<dfl:space/>
				</dfl:if>
				<dfl:choose>
					<dfl:when test="$Status.SearchMode='pic'">
						<!-- Link zum Werkstattdokument in Lightbox, wenn eines vorhanden ist (=augmentierte WER-Nr. in Feld a3500 vorhanden. Sonst Anzeige von a3600 ohne Link. -->
						<dfl:augmentableDetail detail="werdocument5pic" select="a3500" 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>{a36nn>>a3600}</dfl:wrap>
						</dfl:augmentableDetail>
					</dfl:when>
					<dfl:otherwise>
						<!-- Link zum Werkstattdokument in Lightbox, wenn eines vorhanden ist (=augmentierte WER-Nr. in Feld a3500 vorhanden. Sonst Anzeige von a3600 ohne Link. -->
						<dfl:augmentableDetail detail="werdocument5" select="a3500" action="toggleDetail" class="ssy_detail_inline detail_doc">
							<dfl:actionParam name="part" select="$ETEVariables/part"/>
							<dfl:actionParam name="medium" select="$ETEVariables/medium"/>
							<dfl:wrap>{a36nn>>a3600}</dfl:wrap>
						</dfl:augmentableDetail>
					</dfl:otherwise>
				</dfl:choose>

				<dfl:if test="a36nn|a3600 and a3970|a3975|a3998">
					<dfl:text>, </dfl:text>
				</dfl:if>
				<dfl:wrap>{({a3970}), {a3975}, {a3998}}</dfl:wrap>
				<dfl:augmentedDetail detail="werdocument5" select="a3500" template="Werkstatt-Dokument" jump="no"/>
				<dfl:augmentedDetail detail="werdocument5pic" select="a3500" template="Werkstatt-Dokument" jump="no"/>
				<dfl:if test="position()!=last()">
					<dfl:if test="not(preceding-sibling::aob35[1]/aob35rl[text()[1]=current()/aob35rl])">
						<dfl:space/>
						<dfl:value-of select="aob35rl"/>
					</dfl:if>
					<dfl:text> - </dfl:text>
				</dfl:if>
			</dfl:for-each>
			<!--<dfl:if
				test="(self::obj/aob35[a3600]) and (self::obj/a5130[not(aob30 or aob35)] or self::obj/a309a[a3090])">
				<br/>
			</dfl:if>-->
			<dfl:if test="self::obj/a309a[a3090]">
				<dfl:for-each select="(self::obj[a309a/a3090])[last()]/a309a[a3090]">
					<dfl:wrap>{{self::a309a}: {a3090} ({a3094}), {Quelle: {a3092}}}</dfl:wrap>
					<dfl:if test="position()!=last()">
						<dfl:if test="not(preceding-sibling::a309a[1]/a3090rl[text()[1]=current()/a3090rl])">
							<dfl:space/>
							<dfl:value-of select="a3090rl"/>
						</dfl:if>
						<dfl:text> - </dfl:text>
					</dfl:if>
				</dfl:for-each>
			</dfl:if>
			<dfl:if test="(self::que/aqu40[=Person (von)*])[last()]">
				<dfl:for-each select="(self::que[aqu40[=Person (von)*]])[last()]/aqu40[=Person (von)*]">
					<dfl:wrap>{von: {a41nn>>a4100}}</dfl:wrap>
					<dfl:if test="position()!=last()">
						<dfl:text> - </dfl:text>
					</dfl:if>
				</dfl:for-each>
			</dfl:if>
		</dfl:part>