WIP: Resolve "Реализация проверки выполнения показателей" #220
@ -11,14 +11,32 @@
|
||||
<span class="h6" th:text="${grant.title}"/>
|
||||
<span class="text-muted" th:text="${grant.authorsString}"/>
|
||||
</a>
|
||||
<a th:each="paper, rowStat : *{grant.papers}">
|
||||
<span th:if="${paper.status.name() == 'COMPLETED'}">
|
||||
<i class="fa fa-circle" aria-hidden="true" th:title="'Статья: ' + ${paper.title}"></i>
|
||||
</span>
|
||||
<span th:unless="${paper.status.name() == 'COMPLETED'}">
|
||||
<i class="fa fa-circle-o" aria-hidden="true" th:title="'Статья: ' + ${paper.title}"></i>
|
||||
</span>
|
||||
</a>
|
||||
<span th:each="paper, rowStat : *{grant.papers}">
|
||||
<th:block th:switch="${paper.status.name()}">
|
||||
<span th:case="'ATTENTION'">
|
||||
<i class="fa fa-circle text-warning" aria-hidden="true" th:title="'Статья: ' + ${paper.title}"></i>
|
||||
</span>
|
||||
<span th:case="'DRAFT'">
|
||||
<i class="fa fa-circle text-draft" aria-hidden="true" th:title="'Статья: ' + ${paper.title}"></i>
|
||||
</span>
|
||||
<span th:case="'ON_PREPARATION'">
|
||||
<i class="fa fa-circle text-primary" aria-hidden="true" th:title="'Статья: ' + ${paper.title}"></i>
|
||||
</span>
|
||||
<span th:case="'ON_REVIEW'">
|
||||
<i class="fa fa-circle text-review" aria-hidden="true" th:title="'Статья: ' + ${paper.title}"></i>
|
||||
</span>
|
||||
<span th:case="'ACCEPTED'">
|
||||
<i class="fa fa-circle text-success" aria-hidden="true" th:title="'Статья: ' + ${paper.title}"></i>
|
||||
</span>
|
||||
<span th:case="'NOT_ACCEPTED'">
|
||||
<i class="fa fa-circle text-not-accepted" aria-hidden="true"
|
||||
th:title="'Статья: ' + ${paper.title}"></i>
|
||||
</span>
|
||||
<span th:case="'FAILED'">
|
||||
<i class="fa fa-circle text-failed" aria-hidden="true" th:title="'Статья: ' + ${paper.title}"></i>
|
||||
</span>
|
||||
</th:block>
|
||||
</span>
|
||||
<input class="id-class" type="hidden" th:value="${grant.id}"/>
|
||||
<a class="remove-paper pull-right d-none" th:href="@{'/grants/delete/'+${grant.id}}"
|
||||
data-confirm="Удалить грант?">
|
||||
|
Loading…
Reference in New Issue
Block a user