Subversion Repositories bacoAlunos

Compare Revisions

Ignore whitespace Rev 1064 → Rev 1065

/impl/src/web/admin/profile/menu.jsp
49,11 → 49,11
</li>
</logic:equal>
</baco:hasRole>
<baco:isAdmin>
<baco:hasRole role="admin,services">
<li>
<a href="<%=request.getContextPath()%>/user/profile.do?dispatch=grades&userView.id=${ProfileForm.userView.id}"><bean:message key="profile.grades"/></a>
</li>
</baco:isAdmin>
</baco:hasRole>
</baco:isModuleOn>
</ul>
</div>
/impl/src/web/public/profile/profileGrades.jsp
52,7 → 52,7
%>
</h2>
<%
if(UserSession.getUser() != null && !UserSession.getUser().isAdmin() && UserSession.getUser().getId() != ProfileForm.getUserView().getId())
if(UserSession.getUser() != null && !UserSession.getUser().isAdmin() && !UserSession.getUser().hasRole("services") && UserSession.getUser().getId() != ProfileForm.getUserView().getId())
{
%>
<h2 class="warning">Apenas o aluno tem direito a consultar as suas notas</h2>
62,7 → 62,7
%>
<h2 class="warning">Não tem notas para apresentar</h2>
<%
}else if(UserSession.getUser() != null && !UserSession.getUser().isAdmin() && !ProfileForm.getUserView().isPropinasEmDia())
}else if(UserSession.getUser() != null && !UserSession.getUser().isAdmin() && !UserSession.getUser().hasRole("services") && !ProfileForm.getUserView().isPropinasEmDia())
{
%>
<h2 class="warning">Regularize as suas propinas para poder aceder às notas</h2>