Changeset 25359


Ignore:
Timestamp:
2012-04-12T14:32:10+12:00 (9 years ago)
Author:
sjm84
Message:

Tidying up the login page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/oran/transform/pages/login.xsl

    r25316 r25359  
    1919    <!-- the page content -->
    2020    <xsl:template match="/page">
    21         <div id="gs_error" class="ui-state-error ui-corner-all">
    22             <span class="ui-icon ui-icon-alert" style="float: left;"><xsl:text> </xsl:text></span><xsl:value-of select="/page/pageRequest/paramList/param[@name = 'loginMessage']/@value"/>
    23         </div>
     21        <xsl:if test="/page/pageRequest/paramList/param[@name = 'loginMessage']/@value">
     22            <div id="gs_error" class="ui-state-error ui-corner-all">
     23                <span class="ui-icon ui-icon-alert" style="float: left;"><xsl:text> </xsl:text></span><xsl:value-of select="/page/pageRequest/paramList/param[@name = 'loginMessage']/@value"/>
     24            </div>
    2425        <br/>
     26        </xsl:if>
    2527        <form method="post" action="{/page/pageRequest/paramList/param[@name = 'redirectURL']/@value}">
    2628            <table id="loginTable">
Note: See TracChangeset for help on using the changeset viewer.