<%@ page import="com.atlassian.jira.util.JiraUtils"%>
<%@ taglib uri="webwork" prefix="webwork" %>
<%@ taglib uri="sitemesh-page" prefix="page" %>
<%@ taglib uri="jiratags" prefix="jira" %>

<page:applyDecorator name="jiraform">
<page:param name="title"><webwork:text name="'generic.notloggedin.title'"/></page:param>
<tr>
<td bgcolor="#ffffff" colspan="2">
<webwork:if test="remoteUser == null">
    <p>
        <webwork:text name="'generic.notloggedin.msg'"/>
    </p>

    <p>
    <webwork:text name="'generic.notloggedin.try.login'">
        <webwork:param name="'value0'"><jira:loginlink><webwork:text name="'common.words.login'"/></jira:loginlink></webwork:param>
        <webwork:param name="'value1'"></webwork:param>
    </webwork:text>
    <webwork:if test="extUserManagement != true">
        <% if (JiraUtils.isPublicMode()) { %>
            <webwork:text name="'noprojects.signup'">
                <webwork:param name="'value0'"><a href="<%= request.getContextPath() %>/secure/Signup!default.jspa"></webwork:param>
                <webwork:param name="'value1'"></a></webwork:param>
            </webwork:text>
        <% } %>
    </webwork:if>
    </p>
</webwork:if>
<webwork:else>
    <p><webwork:text name="'generic.notloggedin.no.permission'"/></p>
</webwork:else>
</td>
</tr>
</page:applyDecorator>
