Show toolbar tooltips with access keys for buttons without description.
[redakcja.git] / src / redakcja / static / xsl / wl2html_client.xsl
index 51ea70f..c4e68ce 100644 (file)
         </div>
     </xsl:template>
 
         </div>
     </xsl:template>
 
+    <xsl:template match="ilustr">
+      <div>
+        <xsl:call-template name="standard-attributes" />
+        <img>
+          <xsl:attribute name="src">
+            <xsl:value-of select="@src" />
+          </xsl:attribute>
+        </img>
+        <p class="alt"><xsl:value-of select="@alt"/></p>
+      </div>
+    </xsl:template>
+
     <!--
         ***********************************
         Style akapitowe oraz strofy i wersy
     <!--
         ***********************************
         Style akapitowe oraz strofy i wersy
     </xsl:template>
 
     <xsl:template match="ref">
     </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>
+      <span x-editable="true" x-common="common" x-edit-no-format="true" x-edit-attribute="href">
+        <xsl:call-template name="standard-attributes">
+          <xsl:with-param name="extra-class" select="'reference-inline-box'" />
+        </xsl:call-template>
+        <a class="reference">📌</a>
+      </span>
     </xsl:template>
     
     <xsl:template match="begin">        
     </xsl:template>
     
     <xsl:template match="begin">