<commit_before><%@ include file="/WEB-INF/jsp/taglib.jsp" %>
    <wasp:message />

    <h1><fmt:message key="pageTitle.user/detail_ro.label" /></h1>


     <table class="data">
     	  <tr>
              <td class="label"><fmt:message key="wasp.authentication.label" /> <fmt:message key="user.login.label" /></td>
              <td class="value">${user.login}</td>            
          </tr>          	
          <tr>
              <td class="label"><fmt:message key="user.firstName.label" /></td>
              <td class="value">${user.firstName}</td>              
          </tr>
          <tr>
              <td class="label"><fmt:message key="user.lastName.label"/></td>
              <td class="value">${user.lastName}</td>
          </tr>
          <tr>
              <td class="label"><fmt:message key="user.email.label"/></td>
              <td class="value">${user.email}</td>
          </tr>         
          <tr>
              <td class="label"><fmt:message key="user.locale.label"/></td>
              <td class="value">                              
              <c:forEach var="localeEntry" items="${locales}">
                <c:set var="localeValue" value="${localeEntry.key}"/>
                <c:set var="localeLabel" value="${localeEntry.value}"/>               
                <c:if test="${user.locale == localeValue}">${localeLabel}</c:if>
              </c:forEach>
  	      </td>
          </tr>
		
		<c:set var="_area" value = "user" scope="request"/>	
		<c:set var="_metaList" value = "${user.userMeta}" scope="request" />		
        <c:import url="/WEB-INF/jsp/meta_ro.jsp"/>
	  <sec:authorize access="hasRole('su') and ! hasRole('u-${user.userId}')">      		   		
          <tr><td class="action"><a href="/wasp/user/detail_rw/${user.userId}.do"><fmt:message key="userDetail.edit_as_other.label" /></a>
          </sec:authorize>	
	  <sec:authorize access="hasRole('u-${user.userId}')">
	  	  <tr><td colspan="2" align=left><div class="submit"><a href="/wasp/user/me_rw.do"><fmt:message key="userDetail.edit.label" /></a>
		  <sec:authorize access="not hasRole('ldap')">      		   		
	          &nbsp;&nbsp;<a href="<c:url value="/user/mypassword.do"/>"><fmt:message key="userDetail.change_password.label" /></a>
	      </sec:authorize>	
	     </div> </td></tr>
	   </sec:authorize>
	</table>

  
 <commit_msg>formatting improvements<commit_after><%@ include file="/WEB-INF/jsp/taglib.jsp" %>
    <wasp:message />

    <h1><fmt:message key="pageTitle.user/detail_ro.label" /></h1>


     <table class="data">
     	  <tr>
              <td class="label"><fmt:message key="wasp.authentication.label" /> <fmt:message key="user.login.label" /></td>
              <td class="value">${user.login}</td>            
          </tr>          	
          <tr>
              <td class="label"><fmt:message key="user.firstName.label" /></td>
              <td class="value">${user.firstName}</td>              
          </tr>
          <tr>
              <td class="label"><fmt:message key="user.lastName.label"/></td>
              <td class="value">${user.lastName}</td>
          </tr>
          <tr>
              <td class="label"><fmt:message key="user.email.label"/></td>
              <td class="value">${user.email}</td>
          </tr>         
          <tr>
              <td class="label"><fmt:message key="user.locale.label"/></td>
              <td class="value">                              
              <c:forEach var="localeEntry" items="${locales}">
                <c:set var="localeValue" value="${localeEntry.key}"/>
                <c:set var="localeLabel" value="${localeEntry.value}"/>               
                <c:if test="${user.locale == localeValue}">${localeLabel}</c:if>
              </c:forEach>
  	      </td>
          </tr>
		
		<c:set var="_area" value = "user" scope="request"/>	
		<c:set var="_metaList" value = "${user.userMeta}" scope="request" />		
        <c:import url="/WEB-INF/jsp/meta_ro.jsp"/>
	  <sec:authorize access="hasRole('su') and ! hasRole('u-${user.userId}')">      		   		
          <tr><td class="action"><div class="submit"><a href="/wasp/user/detail_rw/${user.userId}.do"><fmt:message key="userDetail.edit_as_other.label" /></a></div>
          </sec:authorize>	
	  <sec:authorize access="hasRole('u-${user.userId}')">
	  	  <tr><td colspan="2" align=left><div class="submit"><a href="/wasp/user/me_rw.do"><fmt:message key="userDetail.edit.label" /></a>
		  <sec:authorize access="not hasRole('ldap')">      		   		
	          &nbsp;&nbsp;<a href="<c:url value="/user/mypassword.do"/>"><fmt:message key="userDetail.change_password.label" /></a>
	      </sec:authorize>	
	     </div> </td></tr>
	   </sec:authorize>
	</table>

  
 
{'fraction_non_alphanumeric': 0.20796272765777213, 'fraction_numerical': 0.0012706480304955528, 'mean_word_length': 2.095019659239843, 'pattern_counts': {'":': 0, '<': 157, '<?xml version=': 0, '>': 157, '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': '6342318', 'n_tokens_mistral': 1571, 'n_tokens_neox': 1497, 'n_words': 214}