Revize 5dd28970
Přidáno uživatelem Jan Čarnogurský před téměř 5 roky(ů)
src/main/webapp/WEB-INF/templates/index.html | ||
---|---|---|
1 | 1 |
<html xmlns:th="http://www.thymeleaf.org" |
2 |
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" |
|
2 |
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:sec="http://www.w3.org/1999/xhtml"
|
|
3 | 3 |
layout:decorator="~{/layouts/layout}"> |
4 | 4 |
|
5 | 5 |
<div layout:fragment="content"> |
... | ... | |
45 | 45 |
<tr> |
46 | 46 |
<th scope="col">Sestava</th> |
47 | 47 |
<th scope="col">Seznam atributů</th> |
48 |
<th scope="col">Akce</th> |
|
48 |
<th scope="col" sec:authorize="hasAuthority('Administrátor')">Akce</th>
|
|
49 | 49 |
</tr> |
50 | 50 |
</thead> |
51 | 51 |
<tbody class="sort"> |
... | ... | |
53 | 53 |
<div> |
54 | 54 |
<td><a th:href="@{/assembly(assemblyID=${iassembly.id})}"><span th:text="${iassembly.name}"></span></a></td> |
55 | 55 |
<td th:text="${attributes[__${itemStat.index}__]}"></td> |
56 |
<td> |
|
56 |
<td sec:authorize="hasAuthority('Administrátor')">
|
|
57 | 57 |
<div class="action-wrapper"> |
58 | 58 |
<span class="action-button"> |
59 | 59 |
<a th:href="@{/assembly_edit(assemblyID=${iassembly.id})}" class="action-link far fa-edit"></a> |
Také k dispozici: Unified diff
re #7969 show actions on index page only to Administrátor