Changeset 25359

Show
Ignore:
Timestamp:
12.04.2012 14:32:10 (8 years ago)
Author:
sjm84
Message:

Tidying up the login page

Files:
1 modified

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">