5-save-rules #15

Open
romanov73 wants to merge 11 commits from 5-save-rules into master
Showing only changes of commit 746da497de - Show all commits

View File

@ -78,7 +78,8 @@
<span class="badge badge-danger">И / ИЛИ</span>
</div>-->
</div>
<a th:href="@{'/rule/edit/' + ${projectId}+'/0'}" class="btn btn-outline-dark">Добавить правило</a>
<a th:href="@{'/rule/edit/' + ${projectId}+'/0'}" th:if="${not #lists.isEmpty(variables)}"
class="btn btn-outline-dark">Добавить правило</a>
</div>
</div>