Slowly adding themes x8

This commit is contained in:
Michael Wain 2024-11-27 19:11:53 +03:00
parent 6f2ed7926e
commit dac5c97867
3 changed files with 5 additions and 2 deletions

View File

@ -70,4 +70,5 @@ edditaddbtn=Edit/Add
edditreq=Send request
scrireqq=Script requests
acceptbtnreq=Accept
themes=Themes
themes=Themes
thmsel=Selected

View File

@ -70,4 +70,5 @@ edditaddbtn=Изменить/Добавить
edditreq=Отправить запрос
scrireqq=Запросы на скрипты
acceptbtnreq=Принять
themes=Темы
themes=Темы
thmsel=Выбрано

View File

@ -130,6 +130,7 @@
</p>
<th:block th:unless="${section == 'script_request'}">
<a th:unless="${section == 'actions' OR section == 'themes'}" href="#" th:data-id="${cc.id}" data-bs-toggle="modal" data-bs-target="#modal_syn" onclick="show_synergies_modal(this)" class="btn btn-primary" th:text="#{eddittsynn}"></a>
<a th:if="${section == 'themes'}" href="#" th:data-id="${cc.id}" class="btn btn-success" th:text="#{thmsel}"></a>
<a href="#" th:data-id="${cc.id}" data-bs-toggle="modal" data-bs-target="#modal" onclick="edit_entry(this)" class="btn btn-primary" th:text="#{edditbtn}"></a>
<a href="#" th:data-id="${cc.id}" onclick="remove_entry(this)" class="btn btn-danger" th:text="#{remombtn}"></a>
</th:block>