#44 add title to paper status fragment
This commit is contained in:
parent
395cf57cc1
commit
72923312b7
@ -7,7 +7,7 @@
|
|||||||
<div th:fragment="paperDashboard (paper)" class="col-12 col-sm-12 col-md-12 col-lg-4 col-xl-3 dashboard-card">
|
<div th:fragment="paperDashboard (paper)" class="col-12 col-sm-12 col-md-12 col-lg-4 col-xl-3 dashboard-card">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-2">
|
<div class="col-2">
|
||||||
<span th:replace="papers/fragments/paperStatusFragment :: paperStatus(paperStatus=${paper.status})"/>
|
<span th:replace="papers/fragments/paperStatusFragment :: paperStatus(paperStatus=${paper.status}, title=${paper.title})"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-10 text-right">
|
<div class="col col-10 text-right">
|
||||||
<p th:if="${paper.url!=null and paper.url!=''}"><a target="_blank" th:href="${paper.url}"><i
|
<p th:if="${paper.url!=null and paper.url!=''}"><a target="_blank" th:href="${paper.url}"><i
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<div th:fragment="paperLine (paper)" class="row text-left paper-row" style="background-color: white;">
|
<div th:fragment="paperLine (paper)" class="row text-left paper-row" style="background-color: white;">
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<span th:replace="papers/fragments/paperStatusFragment :: paperStatus(paperStatus=${paper.status})"/>
|
<span th:replace="papers/fragments/paperStatusFragment :: paperStatus(paperStatus=${paper.status}, title=${paper.title})"/>
|
||||||
<a th:href="@{'paper?id='+${paper.id}}">
|
<a th:href="@{'paper?id='+${paper.id}}">
|
||||||
<span class="h6" th:text="${paper.title}"/>
|
<span class="h6" th:text="${paper.title}"/>
|
||||||
<span class="text-muted" th:text="${paper.authorsString}"/>
|
<span class="text-muted" th:text="${paper.authorsString}"/>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8"/>
|
<meta charset="UTF-8"/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<span th:fragment="paperStatus (paperStatus)" class="fa-stack fa-1x">
|
<span th:fragment="paperStatus (paperStatus, title)" class="fa-stack fa-1x">
|
||||||
<th:block th:switch="${paperStatus.name()}">
|
<th:block th:switch="${paperStatus.name()}">
|
||||||
<div th:case="'ATTENTION'">
|
<div th:case="'ATTENTION'">
|
||||||
<i class="fa fa-circle fa-stack-2x text-warning"></i>
|
<i class="fa fa-circle fa-stack-2x text-warning"></i>
|
||||||
@ -31,7 +31,7 @@
|
|||||||
<i class="fa fa-circle fa-stack-2x text-not-accepted"></i>
|
<i class="fa fa-circle fa-stack-2x text-not-accepted"></i>
|
||||||
</div>
|
</div>
|
||||||
</th:block>
|
</th:block>
|
||||||
<i class="fa fa-file-text-o fa-stack-1x fa-inverse"></i>
|
<i class="fa fa-file-text-o fa-stack-1x fa-inverse" th:title="${title}"></i>
|
||||||
</span>
|
</span>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user