Add owner edit tooltip
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -63,6 +63,10 @@ body {
|
||||
.unclickable {
|
||||
pointer-events: none;
|
||||
}
|
||||
span.tooltipped {
|
||||
text-decoration-line: underline;
|
||||
text-decoration-style: dotted;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
@@ -65,7 +65,15 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Owner</td>
|
||||
<td>
|
||||
<span
|
||||
{% if not has_board %}
|
||||
class="tooltipped" data-position="right" data-tooltip="You can only edit items where you are the owner"
|
||||
{% endif %}
|
||||
>
|
||||
Owner
|
||||
<span>
|
||||
</td>
|
||||
<td>{{ form.inventory.owner.username }}</td>
|
||||
</tr>
|
||||
|
||||
|
Reference in New Issue
Block a user