Skip to content

Commit

Permalink
выделение кнопок в "моих реакциях"
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcom committed Oct 30, 2023
1 parent df7c2fc commit a03d6f2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/main/webapp/WEB-INF/jsp/user-reactions.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,14 @@

<div class="reactions-view">
<p>
<a class="btn btn-default" href="${url}">${meTitle}</a>
<a class="btn btn-default" href="${reactionsUrl}">${reactionsTitle}</a>
<c:if test="${modeTo == 1}">
<a class="btn btn-default" href="${url}">${meTitle}</a>
<a class="btn btn-selected" href="${reactionsUrl}">${reactionsTitle}</a>
</c:if>
<c:if test="${modeTo != 1}">
<a class="btn btn-selected" href="${url}">${meTitle}</a>
<a class="btn btn-default" href="${reactionsUrl}">${reactionsTitle}</a>
</c:if>
</p>
<c:forEach var="item" items="${items}">
<a class="reactions-view-item" href="${item.link}">
Expand Down

0 comments on commit a03d6f2

Please sign in to comment.