mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-06-08 21:38:21 +00:00
Disabled edit link
This commit is contained in:
parent
b84a139d12
commit
9c058c188b
1
src/main/resources/META-INF/spring-devtools.properties
Normal file
1
src/main/resources/META-INF/spring-devtools.properties
Normal file
@ -0,0 +1 @@
|
|||||||
|
restart.include.dbadmin:/spring-boot-db-admin-[\\w-\\.]+\.jar
|
@ -22,7 +22,9 @@
|
|||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="d-flex justify-content-between">
|
<div class="d-flex justify-content-between">
|
||||||
<h3 class="mb-3 fw-bold" th:text="${object.getDisplayName()}"></h3>
|
<h3 class="mb-3 fw-bold" th:text="${object.getDisplayName()}"></h3>
|
||||||
<h3><a th:href="|/${baseUrl}/model/${schema.getClassName()}/edit/${object.getPrimaryKeyValue()}|">
|
<h3><a
|
||||||
|
th:class="|${!schema.isEditEnabled() ? 'disable' : ''}|"
|
||||||
|
th:href="|/${baseUrl}/model/${schema.getClassName()}/edit/${object.getPrimaryKeyValue()}|">
|
||||||
<i class="bi bi-pencil"></i></a>
|
<i class="bi bi-pencil"></i></a>
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user