<commit_before><!-- NOTE: the renderDialog for the "Register" modal dialog MUST be placed outside the NavBar (at least for Bootstrap 2.1.1): see bottom of main.gsp -->
<g:set var="lang" value="${session.'org.springframework.web.servlet.i18n.SessionLocaleResolver.LOCALE'}"/>
<sec:ifNotLoggedIn>
	<g:if test="${grailsApplication.config.getProperty('grails.mail.disabled')?.toLowerCase() == "true"}">
		<li>
			<g:link controller="login" action="auth"><i class="fa fa-sign-in" aria-hidden="true"></i>
				<g:message code="security.signin.label" default="Log in"/>
			</g:link>
		</li>
	</g:if>
	<g:else>
		<li class="dropdown">
			<a class="dropdown-toggle" href="#">
				<g:message code="security.signin.label" default="Log in" locale="${lang}"/>
				<b class="caret"></b>
			</a>
			<ul class="dropdown-menu">

				%{--measurement --------------------------------------------------------}%

				<li class="controller">
					<g:link controller="login" action="auth"><i class="fa fa-sign-in" aria-hidden="true"></i> <g:message
							code="security.signin.label" default="Log in"/></g:link>
				</li>
				<g:if test="${grailsApplication.config.getProperty('grails.mail.disabled')?.toLowerCase() == "false"}">
					<li class="controller">
						<g:link controller="register" action="register"><i class="fa fa-book" aria-hidden="true"></i> <g:message
								code="security.register.label" default="Register"/></g:link><commit_msg>[Fix] Added login icon if mail is enabled<commit_after><!-- NOTE: the renderDialog for the "Register" modal dialog MUST be placed outside the NavBar (at least for Bootstrap 2.1.1): see bottom of main.gsp -->
<g:set var="lang" value="${session.'org.springframework.web.servlet.i18n.SessionLocaleResolver.LOCALE'}"/>
<sec:ifNotLoggedIn>
	<g:if test="${grailsApplication.config.getProperty('grails.mail.disabled')?.toLowerCase() == "true"}">
		<li>
			<g:link controller="login" action="auth"><i class="fa fa-sign-in" aria-hidden="true"></i>
				<g:message code="security.signin.label" default="Log in"/>
			</g:link>
		</li>
	</g:if>
	<g:else>
		<li class="dropdown">
			<a class="dropdown-toggle" href="#">
				<i class="fa fa-sign-in" aria-hidden="true"></i>
				<g:message code="security.signin.label" default="Log in" locale="${lang}"/>
				<b class="caret"></b>
			</a>
			<ul class="dropdown-menu">

				%{--measurement --------------------------------------------------------}%

				<li class="controller">
					<g:link controller="login" action="auth"><i class="fa fa-sign-in" aria-hidden="true"></i> <g:message
							code="security.signin.label" default="Log in"/></g:link>
				</li>
				<g:if test="${grailsApplication.config.getProperty('grails.mail.disabled')?.toLowerCase() == "false"}">
					<li class="controller">
						<g:link controller="register" action="register"><i class="fa fa-book" aria-hidden="true"></i> <g:message
								code="security.register.label" default="Register"/></g:link>
{'fraction_non_alphanumeric': 0.24190800681431004, 'fraction_numerical': 0.0034071550255536627, 'mean_word_length': 3.844884488448845, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 73, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3200423', 'n_tokens_mistral': 1062, 'n_tokens_neox': 932, 'n_words': 188}