Commit 2fae64af authored by Sigrid Suski's avatar Sigrid Suski

(#) page-header class usage corrected; lead class removed

parent 1d3e4f83
......@@ -42,7 +42,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
(#) Undefined variable: fieldNids
(#) Reversal of Commit 8b171710 as anchors do not longer work then
(#) page-header class usage corrected; lead class removed
### 1.4.11 (15 February 2019)
......
......@@ -56,26 +56,28 @@
<xsl:apply-templates select="alphaMenu"/>
<h1 class="page-header lead">
<xsl:if test="//config/showicon/@value = 1">
<xsl:choose>
<xsl:when test="string-length(icon/@element) > 0">
<xsl:element name="{icon/@element}">
<xsl:attribute name="class">
<xsl:value-of select="icon/@class"/>
</xsl:attribute>
<xsl:value-of select="icon/@content"/>
</xsl:element>
</xsl:when>
<xsl:otherwise>
<xsl:if test="string-length( icon ) > 0">
<img alt="{name}" src="{icon}"/>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
<xsl:value-of select="name"/>
</h1>
<div class="page-header">
<h1>
<xsl:if test="//config/showicon/@value = 1">
<xsl:choose>
<xsl:when test="string-length(icon/@element) > 0">
<xsl:element name="{icon/@element}">
<xsl:attribute name="class">
<xsl:value-of select="icon/@class"/>
</xsl:attribute>
<xsl:value-of select="icon/@content"/>
</xsl:element>
</xsl:when>
<xsl:otherwise>
<xsl:if test="string-length( icon ) > 0">
<img alt="{name}" src="{icon}"/>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
<xsl:value-of select="name"/>
</h1>
</div>
<xsl:if test="string-length(description) > 0">
<div class="spCategoryDesc" data-role="content">
<xsl:value-of select="description" disable-output-escaping="yes"/>
......
......@@ -36,17 +36,19 @@
</xsl:if>
</xsl:variable>
<h2 class="page-header lead namefield {$development}">
<xsl:call-template name="development">
<xsl:with-param name="fieldname" select="entry/name"/>
</xsl:call-template>
<a href="{url}">
<xsl:value-of select="name"/>
<xsl:call-template name="status">
<xsl:with-param name="entry" select="."/>
<div class="page-header">
<h2 class="namefield {$development}">
<xsl:call-template name="development">
<xsl:with-param name="fieldname" select="entry/name"/>
</xsl:call-template>
</a>
</h2>
<a href="{url}">
<xsl:value-of select="name"/>
<xsl:call-template name="status">
<xsl:with-param name="entry" select="."/>
</xsl:call-template>
</a>
</h2>
</div>
<!-- Uncomment only if Collection App is installed -->
<!--<xsl:call-template name="collection"><xsl:with-param name="entry" select="."/></xsl:call-template>-->
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -710,15 +710,7 @@ body.modal-open {
}
.page-header {
margin-bottom: 10px;
margin-top: 10px;
font-size: calc(@fontsize + 8px);
font-weight: 300;
border-bottom: 1px solid lighten(@base-color, 50%);
i {
margin-right: 8px;
}
border-bottom-color: lighten(@base-color, 50%);
}
.help-block {
......
......@@ -51,9 +51,11 @@
<xsl:apply-templates select="messages"/>
<div id="content">
<h1 class="page-header lead">
<xsl:value-of select="name"/>
</h1>
<div class="page-header">
<h1>
<xsl:value-of select="name"/>
</h1>
</div>
<xsl:if test="string-length(description) > 0">
<div class="spSectionDesc" data-role="content">
<xsl:value-of select="description" disable-output-escaping="yes"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment