#44 finish with papers
This commit is contained in:
parent
c612e35ad9
commit
395cf57cc1
@ -11,14 +11,32 @@
|
|||||||
<span class="h6" th:text="${grant.title}"/>
|
<span class="h6" th:text="${grant.title}"/>
|
||||||
<span class="text-muted" th:text="${grant.authorsString}"/>
|
<span class="text-muted" th:text="${grant.authorsString}"/>
|
||||||
</a>
|
</a>
|
||||||
<a th:each="paper, rowStat : *{grant.papers}">
|
<span th:each="paper, rowStat : *{grant.papers}">
|
||||||
<span th:if="${paper.status.name() == 'COMPLETED'}">
|
<th:block th:switch="${paper.status.name()}">
|
||||||
<i class="fa fa-circle" aria-hidden="true" th:title="'Статья: ' + ${paper.title}"></i>
|
<span th:case="'ATTENTION'">
|
||||||
|
<i class="fa fa-circle text-warning" aria-hidden="true" th:title="'Статья: ' + ${paper.title}"></i>
|
||||||
</span>
|
</span>
|
||||||
<span th:unless="${paper.status.name() == 'COMPLETED'}">
|
<span th:case="'DRAFT'">
|
||||||
<i class="fa fa-circle-o" aria-hidden="true" th:title="'Статья: ' + ${paper.title}"></i>
|
<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>
|
</span>
|
||||||
</a>
|
|
||||||
<input class="id-class" type="hidden" th:value="${grant.id}"/>
|
<input class="id-class" type="hidden" th:value="${grant.id}"/>
|
||||||
<a class="remove-paper pull-right d-none" th:href="@{'/grants/delete/'+${grant.id}}"
|
<a class="remove-paper pull-right d-none" th:href="@{'/grants/delete/'+${grant.id}}"
|
||||||
data-confirm="Удалить грант?">
|
data-confirm="Удалить грант?">
|
||||||
|
Loading…
Reference in New Issue
Block a user