mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-08-07 04:31:12 +00:00
Disabled edit link
This commit is contained in:
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>
|
||||||
|
Reference in New Issue
Block a user