Add check entity
This commit is contained in:
parent
1cd785ee41
commit
0b0b8193b4
@ -67,6 +67,7 @@ public class GitFilteringController {
|
||||
filterForm.setRepositoryUrl(notEmptyRepositoryUrl);
|
||||
filterForm.setAuthor(author.orElse(null));
|
||||
filterForm.setFilter(filter.orElse(null));
|
||||
filterForm.setEntity(entity.orElse(false));
|
||||
model.addAttribute("filterForm", filterForm);
|
||||
model.addAttribute("authors", filteringService.getRepositoryAuthors(
|
||||
notEmptyRepositoryUrl,
|
||||
|
@ -77,7 +77,7 @@
|
||||
Содержит сущность:
|
||||
</div>
|
||||
<div class="form-group form-check">
|
||||
<input type="checkbox" class="form-check-input" th:field="*{entity}">
|
||||
<input type="checkbox" class="form-check-input" th:field="*{entity}" th:checked="*{entity}"/>
|
||||
</div>
|
||||
<div class="col-md-4 col-sm-12">
|
||||
<input type="submit" class="btn btn-outline-success w-100" value="Применить фильтр"/>
|
||||
@ -117,7 +117,8 @@
|
||||
repositoryUrl=${filterForm.repositoryUrl},
|
||||
branchName=${filterForm.branchName},
|
||||
author=${filterForm.author},
|
||||
filter=${filterForm.filter})}"
|
||||
filter=${filterForm.filter},
|
||||
entity=${filterForm.entity})}"
|
||||
th:text=${pageNumber}
|
||||
th:class="${pageNumber == filterForm.commitsPage.number} ? active"></a>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user