Skip to content

Commit d4d81b6

Browse files
committed
Linked select box link fields to their associated section.
1 parent fcd7efa commit d4d81b6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/datasource-to-table.xsl

+5
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@
5353
</xsl:attribute>
5454

5555
<xsl:choose>
56+
<xsl:when test="$field/item/@section-handle">
57+
<a href="/symphony/publish/{$field/item/@section-handle}/edit/{$field/item/@id}/">
58+
<xsl:value-of select="$field"/>
59+
</a>
60+
</xsl:when>
5661
<xsl:when test="position()=1">
5762
<a href="/symphony/publish/{//section/@handle}/edit/{$entry/@id}/">
5863
<xsl:value-of select="$field"/>

0 commit comments

Comments
 (0)