Pic-Detail-Bottom

Aus Data-Wiki
<dfl:part name="Pic-Detail-Bottom">
			<dfl:choose>
				<!-- Spalte D -->
				<dfl:when test="self::a8450 and ancestor::obj[a5220[ri=.*fotografie]] and not(ancestor::que) and not(fto)">
					<dfl:li dfl:test="a8561">
						<dfl:variable name="konName" select="a8561"/>
						<dfl:for-each-searchresult chapter="sys_xda_kon" descriptor="a8561" max="1">
							<dfl:augmentableDetail detail="kondocument11" dtdn="concat('kon::', docnumber)" 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:text>Mehr Informationen zum Fotokonvolut </dfl:text>
								<dfl:value-of select="$konName"/>
							</dfl:augmentableDetail>
							<dfl:augmentedDetail detail="kondocument11" select="concat('kon::', docnumber)" template="Konvolut-Dokument" jump="no"/>
						</dfl:for-each-searchresult>
					</dfl:li>
					<!-- FM20170823: Fester Text gridLeft ausgetauscht -->
					<dfl:li dfl:test="a9987/a9987a">
						<span class="gridLeft">Ansehen beim Datengeber:</span>
						<span class="gridRight">
							<a>
								<dfl:attribute name="href" select="a9987/a9987a"/>
								<dfl:value-of select="a9987/a9987a"/>
							</a>
						</span>
					</dfl:li>
					<dfl:li>
						<span class="gridLeft">Link zu dieser Seite:</span>
						<span class="gridRight">
							<a>
								<dfl:attribute name="href">
									<dfl:webrootbaseurl/>
									<dfl:text>media/</dfl:text>
									<dfl:value-of select="ancestor::document/@docType"/>
									<dfl:value-of select="ancestor::document/@docNumber"/>
									<dfl:text>/</dfl:text>
									<dfl:choose>
										<dfl:when test="$ETEVariables/id">
											<dfl:value-of select="edps:Xslt2Replace(string($ETEVariables/id), '\s', '+', 'g')"/>
										</dfl:when>
										<dfl:otherwise>
											<dfl:variable name="temp">
												<dfl:call-template template="getMediumBlockID" select="self::a8450"/>
											</dfl:variable>
											<dfl:value-of select="edps:Xslt2Replace(string($temp), '\s', '+', 'g')"/>
										</dfl:otherwise>
									</dfl:choose>
									<dfl:if test="$ETEVariables/part != 0 or $ETEVariables/medium">
										<dfl:text>?</dfl:text>
										<dfl:if test="$ETEVariables/part != 0">
											<dfl:text>part=</dfl:text>
											<dfl:value-of select="$ETEVariables/part"/>
										</dfl:if>
										<dfl:if test="$ETEVariables/part != 0 and $ETEVariables/medium">
											<dfl:text>&</dfl:text>
										</dfl:if>
										<dfl:if test="$ETEVariables/medium">
											<dfl:text>medium=</dfl:text>
											<dfl:value-of select="edps:Xslt2EncodeForURIPlusSign($ETEVariables/medium)"/>
										</dfl:if>
									</dfl:if>
								</dfl:attribute>
								<dfl:webrootbaseurl/>
								<dfl:text>media/</dfl:text>
								<dfl:value-of select="ancestor::document/@docType"/>
								<dfl:value-of select="ancestor::document/@docNumber"/>
								<dfl:text>/</dfl:text>
								<dfl:choose>
									<dfl:when test="$ETEVariables/id">
										<dfl:value-of select="$ETEVariables/id"/>
									</dfl:when>
									<dfl:otherwise>
										<dfl:call-template template="getMediumBlockID" select="self::a8450"/>
									</dfl:otherwise>
								</dfl:choose>
								<dfl:if test="$ETEVariables/part != 0 or $ETEVariables/medium">
									<dfl:text>?</dfl:text>
									<dfl:if test="$ETEVariables/part != 0">
										<dfl:text>part=</dfl:text>
										<dfl:value-of select="$ETEVariables/part"/>
									</dfl:if>
									<dfl:if test="$ETEVariables/part != 0 and $ETEVariables/medium">
										<dfl:text>&</dfl:text>
									</dfl:if>
									<dfl:if test="$ETEVariables/medium">
										<dfl:text>medium=</dfl:text>
										<dfl:value-of select="edps:Xslt2EncodeForURIPlusSign($ETEVariables/medium)"/>
									</dfl:if>
								</dfl:if>
							</a>
						</span>
					</dfl:li>
					<dfl:li test="ancestor-or-self::obj/a9902">
						<span class="gridLeft">Datensatz von:</span>
						<span class="gridRight">
							<dfl:wrap>{ancestor-or-self::obj/a9902}</dfl:wrap>
						</span>
					</dfl:li>
				</dfl:when>
				<!-- Spalte E -->
				<dfl:when test="not(ancestor::obj[a5220[ri=.*fotografie]]) and not(a8408) and not(ancestor::que)">
					<dfl:li dfl:test="a8561">
						<dfl:variable name="konName" select="a8561"/>
						<dfl:for-each-searchresult chapter="sys_xda_kon" descriptor="a8561" max="1">
							<dfl:augmentableDetail detail="kondocument12" dtdn="concat('kon::', docnumber)" 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:text>Mehr Informationen zum Fotokonvolut </dfl:text>
								<dfl:value-of select="$konName"/>
							</dfl:augmentableDetail>
							<dfl:augmentedDetail detail="kondocument12" select="concat('kon::', docnumber)" template="Konvolut-Dokument" jump="no"/>
						</dfl:for-each-searchresult>
					</dfl:li>
					<!-- FM20170823: Fester Text gridLeft ausgetauscht -->
					<dfl:li dfl:test="a9987/a9987a">
						<span class="gridLeft">Ansehen beim Datengeber:</span>
						<span class="gridRight">
							<a>
								<dfl:attribute name="href" select="a9987/a9987a"/>
								<dfl:value-of select="a9987/a9987a"/>
							</a>
						</span>
					</dfl:li>
					<dfl:li>
						<span class="gridLeft">Link zu dieser Seite:</span>
						<span class="gridRight">
							<a>
								<dfl:attribute name="href">
									<dfl:webrootbaseurl/>
									<dfl:text>media/</dfl:text>
									<dfl:value-of select="ancestor::document/@docType"/>
									<dfl:value-of select="ancestor::document/@docNumber"/>
									<dfl:text>/</dfl:text>
									<dfl:choose>
										<dfl:when test="$ETEVariables/id">
											<dfl:value-of select="edps:Xslt2Replace(string($ETEVariables/id), '\s', '+', 'g')"/>
										</dfl:when>
										<dfl:otherwise>
											<dfl:variable name="temp">
												<dfl:call-template template="getMediumBlockID" select="self::a8450"/>
											</dfl:variable>
											<dfl:value-of select="edps:Xslt2Replace(string($temp), '\s', '+', 'g')"/>
										</dfl:otherwise>
									</dfl:choose>
									<dfl:if test="$ETEVariables/part != 0 or $ETEVariables/medium">
										<dfl:text>?</dfl:text>
										<dfl:if test="$ETEVariables/part != 0">
											<dfl:text>part=</dfl:text>
											<dfl:value-of select="$ETEVariables/part"/>
										</dfl:if>
										<dfl:if test="$ETEVariables/part != 0 and $ETEVariables/medium">
											<dfl:text>&</dfl:text>
										</dfl:if>
										<dfl:if test="$ETEVariables/medium">
											<dfl:text>medium=</dfl:text>
											<dfl:value-of select="edps:Xslt2EncodeForURIPlusSign($ETEVariables/medium)"/>
										</dfl:if>
									</dfl:if>
								</dfl:attribute>
								<dfl:webrootbaseurl/>
								<dfl:text>media/</dfl:text>
								<dfl:value-of select="ancestor::document/@docType"/>
								<dfl:value-of select="ancestor::document/@docNumber"/>
								<dfl:text>/</dfl:text>
								<dfl:choose>
									<dfl:when test="$ETEVariables/id">
										<dfl:value-of select="$ETEVariables/id"/>
									</dfl:when>
									<dfl:otherwise>
										<dfl:call-template template="getMediumBlockID" select="self::a8450"/>
									</dfl:otherwise>
								</dfl:choose>
								<dfl:if test="$ETEVariables/part != 0 or $ETEVariables/medium">
									<dfl:text>?</dfl:text>
									<dfl:if test="$ETEVariables/part != 0">
										<dfl:text>part=</dfl:text>
										<dfl:value-of select="$ETEVariables/part"/>
									</dfl:if>
									<dfl:if test="$ETEVariables/part != 0 and $ETEVariables/medium">
										<dfl:text>&</dfl:text>
									</dfl:if>
									<dfl:if test="$ETEVariables/medium">
										<dfl:text>medium=</dfl:text>
										<dfl:value-of select="edps:Xslt2EncodeForURIPlusSign($ETEVariables/medium)"/>
									</dfl:if>
								</dfl:if>
							</a>
						</span>
					</dfl:li>
					<dfl:li test="ancestor-or-self::obj/a9902">
						<span class="gridLeft">Datensatz von:</span>
						<span class="gridRight">
							<dfl:wrap>{ancestor-or-self::obj/a9902}</dfl:wrap>
						</span>
					</dfl:li>
				</dfl:when>
				<!-- Spalte F -->
				<!-- not(ancestor::obj[a5220[ri=.*fotografie]]) and  -->
				<!-- Siehe ABKA3-704 -->
				<dfl:when test="a8408 and fto and not(ancestor::que)">
					<dfl:for-each select="self::a8450//fto">
						<dfl:if test="position() = (number($ETEVariables/part) + 2)">
							<dfl:variable name="konName" select="aft28/a8561"/>
							<dfl:for-each-searchresult chapter="sys_xda_kon" descriptor="aft28/a8561" max="1">
								<dfl:li dfl:test="docnumber">
									<dfl:augmentableDetail detail="kondocument13" dtdn="concat('kon::', docnumber)" 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:text>Mehr Informationen zum Fotokonvolut </dfl:text>
										<dfl:value-of select="$konName"/>
									</dfl:augmentableDetail>
									<dfl:augmentedDetail detail="kondocument13" select="concat('kon::', docnumber)" template="Konvolut-Dokument" jump="no"/>
								</dfl:li>
							</dfl:for-each-searchresult>
							<!-- FM20170823: Fester Text gridLeft ausgetauscht -->
							<dfl:li dfl:test="a9987/a9987a">
								<span class="gridLeft">Ansehen beim Datengeber:</span>
								<span class="gridRight">
									<a>
										<dfl:attribute name="href" select="a9987/a9987a"/>
										<dfl:value-of select="a9987/a9987a"/>
									</a>
								</span>
							</dfl:li>
							<dfl:li class="mode-f">
								<span class="gridLeft">Link zu dieser Seite:</span>
								<span class="gridRight">
									<a>
										<dfl:attribute name="href">
											<dfl:webrootbaseurl/>
											<dfl:text>media/</dfl:text>
											<dfl:value-of select="ancestor::document/@docType"/>
											<dfl:value-of select="ancestor::document/@docNumber"/>
											<dfl:text>/</dfl:text>
											<dfl:choose>
												<dfl:when test="$ETEVariables/id">
													<dfl:value-of select="edps:Xslt2Replace(string($ETEVariables/id), '\s', '+', 'g')"/>
												</dfl:when>
												<dfl:otherwise>
													<dfl:variable name="temp">
														<dfl:call-template template="getMediumBlockID" select="self::a8450"/>
													</dfl:variable>
													<dfl:value-of select="edps:Xslt2Replace(string($temp), '\s', '+', 'g')"/>
												</dfl:otherwise>
											</dfl:choose>
											<dfl:if test="$ETEVariables/part != 0 or $ETEVariables/medium">
												<dfl:text>?</dfl:text>
												<dfl:if test="$ETEVariables/part != 0">
													<dfl:text>part=</dfl:text>
													<dfl:value-of select="$ETEVariables/part"/>
												</dfl:if>
												<dfl:if test="$ETEVariables/part != 0 and $ETEVariables/medium">
													<dfl:text>&</dfl:text>
												</dfl:if>
												<dfl:if test="$ETEVariables/medium">
													<dfl:text>medium=</dfl:text>
													<dfl:value-of select="edps:Xslt2EncodeForURIPlusSign($ETEVariables/medium)"/>
												</dfl:if>
											</dfl:if>
										</dfl:attribute>
										<dfl:webrootbaseurl/>
										<dfl:text>media/</dfl:text>
										<dfl:value-of select="ancestor::document/@docType"/>
										<dfl:value-of select="ancestor::document/@docNumber"/>
										<dfl:text>/</dfl:text>
										<dfl:choose>
											<dfl:when test="$ETEVariables/id">
												<dfl:value-of select="$ETEVariables/id"/>
											</dfl:when>
											<dfl:otherwise>
												<dfl:call-template template="getMediumBlockID" select="self::a8450"/>
											</dfl:otherwise>
										</dfl:choose>
										<dfl:if test="$ETEVariables/part != 0 or $ETEVariables/medium">
											<dfl:text>?</dfl:text>
											<dfl:if test="$ETEVariables/part != 0">
												<dfl:text>part=</dfl:text>
												<dfl:value-of select="$ETEVariables/part"/>
											</dfl:if>
											<dfl:if test="$ETEVariables/part != 0 and $ETEVariables/medium">
												<dfl:text>&</dfl:text>
											</dfl:if>
											<dfl:if test="$ETEVariables/medium">
												<dfl:text>medium=</dfl:text>
												<dfl:value-of select="edps:Xslt2EncodeForURIPlusSign($ETEVariables/medium)"/>
											</dfl:if>
										</dfl:if>
									</a>
								</span>
							</dfl:li>
							<dfl:li test="ancestor-or-self::fto/a9902">
								<span class="gridLeft">Datensatz von:</span>
								<span class="gridRight">
									<dfl:wrap>{ancestor-or-self::fto/a9902}</dfl:wrap>
								</span>
							</dfl:li>
						</dfl:if>
					</dfl:for-each>
				</dfl:when>
				<!-- Spalte G -->
				<dfl:when test="ancestor::que">
					<dfl:li dfl:test="a8561">
						<dfl:variable name="konName" select="a8561"/>
						<dfl:for-each-searchresult chapter="sys_xda_kon" descriptor="a8561" max="1">
							<dfl:augmentableDetail detail="kondocument14" dtdn="concat('kon::', docnumber)" 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:text>Mehr Informationen zum Fotokonvolut </dfl:text>
								<dfl:value-of select="$konName"/>
							</dfl:augmentableDetail>
							<dfl:augmentedDetail detail="kondocument14" select="concat('kon::', docnumber)" template="Konvolut-Dokument" jump="no"/>
						</dfl:for-each-searchresult>
					</dfl:li>
					<!-- FM20170823: Fester Text gridLeft ausgetauscht -->
					<dfl:li dfl:test="../a9987/a9987a">
						<span class="gridLeft">Ansehen beim Datengeber:</span>
						<span class="gridRight">
							<a>
								<dfl:attribute name="href" select="../a9987/a9987a"/>
								<dfl:value-of select="../a9987/a9987a"/>
							</a>
						</span>
					</dfl:li>
					<dfl:li>
						<span class="gridLeft">Link zu dieser Seite:</span>
						<span class="gridRight">
							<a>
								<dfl:attribute name="href">
									<dfl:webrootbaseurl/>
									<dfl:text>media/</dfl:text>
									<dfl:value-of select="ancestor::document/@docType"/>
									<dfl:value-of select="ancestor::document/@docNumber"/>
									<dfl:text>/</dfl:text>
									<dfl:choose>
										<dfl:when test="$ETEVariables/id">
											<dfl:value-of select="edps:Xslt2Replace(string($ETEVariables/id), '\s', '+', 'g')"/>
										</dfl:when>
										<dfl:otherwise>
											<dfl:variable name="temp">
												<dfl:call-template template="getMediumBlockID" select="self::a8450"/>
											</dfl:variable>
											<dfl:value-of select="edps:Xslt2Replace(string($temp), '\s', '+', 'g')"/>
										</dfl:otherwise>
									</dfl:choose>
									<dfl:if test="$ETEVariables/part != 0 or $ETEVariables/medium">
										<dfl:text>?</dfl:text>
										<dfl:if test="$ETEVariables/part != 0">
											<dfl:text>part=</dfl:text>
											<dfl:value-of select="$ETEVariables/part"/>
										</dfl:if>
										<dfl:if test="$ETEVariables/part != 0 and $ETEVariables/medium">
											<dfl:text>&</dfl:text>
										</dfl:if>
										<dfl:if test="$ETEVariables/medium">
											<dfl:text>medium=</dfl:text>
											<dfl:value-of select="edps:Xslt2EncodeForURIPlusSign($ETEVariables/medium)"/>
										</dfl:if>
									</dfl:if>
								</dfl:attribute>
								<dfl:webrootbaseurl/>
								<dfl:text>media/</dfl:text>
								<dfl:value-of select="ancestor::document/@docType"/>
								<dfl:value-of select="ancestor::document/@docNumber"/>
								<dfl:text>/</dfl:text>
								<dfl:choose>
									<dfl:when test="$ETEVariables/id">
										<dfl:value-of select="$ETEVariables/id"/>
									</dfl:when>
									<dfl:otherwise>
										<dfl:call-template template="getMediumBlockID" select="self::a8450"/>
									</dfl:otherwise>
								</dfl:choose>
								<dfl:if test="$ETEVariables/part != 0 or $ETEVariables/medium">
									<dfl:text>?</dfl:text>
									<dfl:if test="$ETEVariables/part != 0">
										<dfl:text>part=</dfl:text>
										<dfl:value-of select="$ETEVariables/part"/>
									</dfl:if>
									<dfl:if test="$ETEVariables/part != 0 and $ETEVariables/medium">
										<dfl:text>&</dfl:text>
									</dfl:if>
									<dfl:if test="$ETEVariables/medium">
										<dfl:text>medium=</dfl:text>
										<dfl:value-of select="edps:Xslt2EncodeForURIPlusSign($ETEVariables/medium)"/>
									</dfl:if>
								</dfl:if>
							</a>
						</span>
					</dfl:li>
					<dfl:li test="ancestor-or-self::que/a9902">
						<span class="gridLeft">Datensatz von:</span>
						<span class="gridRight">
							<dfl:wrap>{ancestor-or-self::que/a9902}</dfl:wrap>
						</span>
					</dfl:li>
				</dfl:when>
			</dfl:choose>
		</dfl:part>