Commit b292c23531ed7013066d6a65a4f90d5a6f64ebdb
1 parent
7057245c
Exists in
master
and in
1 other branch
exibir mensagem dinamicamente do aviso ou erro + recomendação.
Showing
1 changed file
with
7 additions
and
1 deletions
Show diff stats
src/main/webapp/WEB-INF/jsp/avaliacao/detalhesAvaliacao.jsp
... | ... | @@ -50,7 +50,13 @@ |
50 | 50 | </div> |
51 | 51 | |
52 | 52 | <table id="tabelaErros2"> |
53 | - <caption>Tabela de Erros</caption> | |
53 | + | |
54 | + <!-- seta a mensagem de acordo com o tipo (erro ou aviso) --> | |
55 | + <c:choose> | |
56 | + <c:when test="${isError}"><caption>Erro(s) da recomentação ${rn} ${recomendacao}</caption></c:when> | |
57 | + <c:otherwise><caption>Aviso(s) da recomentação ${rn} ${recomendacao}</caption></c:otherwise> | |
58 | + </c:choose> | |
59 | + | |
54 | 60 | <thead> |
55 | 61 | <tr> |
56 | 62 | <th id="numero" class="topo2 indiceDetalhes0">Número</th> | ... | ... |