#81 -- Show indexing status
This commit is contained in:
parent
f9fd839a14
commit
98ec821748
@ -12,20 +12,24 @@
|
|||||||
<thead class="thead-dark">
|
<thead class="thead-dark">
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col">Ветки</th>
|
<th scope="col">Ветки</th>
|
||||||
<th width="10%"></th>
|
<th width="20%"></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr th:each="branch: ${branches}">
|
<tr th:each="branch: ${branches}">
|
||||||
<td>
|
<td>
|
||||||
<a th:href="@{${@route.FILTER_COMMITS} + '?branchName='+${branch.name}+'&repositoryUrl='+${repository.url}}"
|
<a th:href="@{${@route.FILTER_COMMITS} + '?branchName='+${branch.name}+'&repositoryUrl='+${repository.url}}"
|
||||||
th:text="${branch.name}"/>
|
th:text="${branch.name}"></a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a role="button" class="btn btn-primary" title="Повторить индексацию ветки"
|
<a role="button" class="btn btn-primary" title="Повторить индексацию ветки"
|
||||||
|
th:if="${branch.indexingStatus.name() != 'INDEXING'}"
|
||||||
th:href="@{'reindexBranch?branchId=' + ${branch.id}}">
|
th:href="@{'reindexBranch?branchId=' + ${branch.id}}">
|
||||||
<i class="fa fa-repeat" aria-hidden="true"></i>
|
<i class="fa fa-repeat" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
|
<a role="button" class="btn btn-dark disabled"
|
||||||
|
th:if="${branch.indexingStatus.name() == 'INDEXING'}">Индексируется...
|
||||||
|
</a>
|
||||||
<a role="button" class="btn btn-danger"
|
<a role="button" class="btn btn-danger"
|
||||||
th:href="@{'deleteBranch?id=' + ${branch.id} + '&repositoryId='+${repository.id}}"
|
th:href="@{'deleteBranch?id=' + ${branch.id} + '&repositoryId='+${repository.id}}"
|
||||||
onclick="return confirm('Удалить ветку?')">
|
onclick="return confirm('Удалить ветку?')">
|
||||||
|
Loading…
Reference in New Issue
Block a user