Skip to content

Commit

Permalink
add action button on account page
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Höning <[email protected]>
  • Loading branch information
nhoening committed Mar 5, 2025
1 parent be771bd commit 39546cf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions flexmeasures/ui/templates/crud/account.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@

<div class="pl-3">
{% if can_view_account_auditlog %}
<form action="/accounts/auditlog/{{ account.id }}" method="get">
<button
class="btn btn-sm btn-responsive btn-info m-4"
type="submit"
title="View history of user actions."
>
Audit log
<a href="/accounts/auditlog/{{ account.id }}">Audit log</a>
</button>
</form>
{% endif %}
</div>
<div class="container-fluid">
Expand Down

0 comments on commit 39546cf

Please sign in to comment.