fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding references.
[redakcja.git]
/
src
/
redakcja
/
static
/
xsl
/
wl2html_client.xsl
diff --git
a/src/redakcja/static/xsl/wl2html_client.xsl
b/src/redakcja/static/xsl/wl2html_client.xsl
index
f5a442b
..
51ea70f
100644
(file)
--- a/
src/redakcja/static/xsl/wl2html_client.xsl
+++ b/
src/redakcja/static/xsl/wl2html_client.xsl
@@
-718,6
+718,13
@@
</span>
</xsl:template>
</span>
</xsl:template>
+ <xsl:template match="ref">
+ <span x-editable="true" x-common="common" x-edit-no-format="true" x-edit-attribute="href">
+ <xsl:call-template name="standard-attributes"/>
+ <a class="reference">📌</a>
+ </span>
+ </xsl:template>
+
<xsl:template match="begin">
<span>
<xsl:call-template name="standard-attributes" />
<xsl:template match="begin">
<span>
<xsl:call-template name="standard-attributes" />
@@
-737,7
+744,7
@@
</xsl:template>
<xsl:template match="motyw">
</xsl:template>
<xsl:template match="motyw">
- <span x-editable="true" x-common="common">
+ <span x-editable="true" x-
edit-no-format="true" x-
common="common">
<xsl:call-template name="standard-attributes" />
<xsl:attribute name="theme-class">
<xsl:value-of select="substring-after(@id, 'm')" />
<xsl:call-template name="standard-attributes" />
<xsl:attribute name="theme-class">
<xsl:value-of select="substring-after(@id, 'm')" />