Skip to content

Commit

Permalink
убрал то, чего нет
Browse files Browse the repository at this point in the history
в догонку к #1089
  • Loading branch information
maxcom committed Dec 28, 2024
1 parent af47ad3 commit 8bc4185
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions src/main/webapp/WEB-INF/jsp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -101,35 +101,22 @@
</script>

<c:if test="${template.moderatorSession or template.correctorSession}">
<div class="nav" style="border-bottom: none">
<div class="nav" style="border-bottom: none">
<c:if test="${uncommited > 0}">
[<a href="view-all.jsp">Неподтверждённых</a>: ${uncommited},
в том числе
<c:if test="${uncommitedGallery > 0}">
<a href="view-all.jsp?section=3">изображений</a>:&nbsp;${uncommitedGallery};
</c:if>
<c:if test="${uncommitedGallery == 0}">
изображений нет;
</c:if>
<c:if test="${uncommitedNews > 0}">
<a href="view-all.jsp?section=1">новостей</a>:&nbsp;${uncommitedNews};
</c:if>
<c:if test="${uncommitedNews == 0}">
новостей нет;
</c:if>
<c:if test="${uncommitedPolls > 0}">
<a href="view-all.jsp?section=5">опросов</a>:&nbsp;${uncommitedPolls};
</c:if>
<c:if test="${uncommitedPolls == 0}">
опросов нет;
</c:if>
<c:if test="${uncommitedArticles > 0}">
<a href="view-all.jsp?section=6">статей</a>:&nbsp;${uncommitedArticles};
</c:if>
<c:if test="${uncommitedArticles == 0}">
статей нет
</c:if>
]
</c:if>]
</c:if>
</div>
</c:if>
Expand Down

0 comments on commit 8bc4185

Please sign in to comment.