Skip to content

Commit

Permalink
New default template
Browse files Browse the repository at this point in the history
- Fix logs purge button
  • Loading branch information
Devenet committed Mar 25, 2021
1 parent 7dda144 commit 2e6a4ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion themes/default/templates/admin.logs.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1 class="mb-3">Logs</h1>
<div class="my-3">
<div class="row justify-content-between">
<p class="col-auto"><i class="bi bi-file-earmark-text"></i> <code>{$filename}</code></p>
<form class="col-auto" method="post" action="./?admin-logs">
<form class="col-auto" method="post" action="./?admin/logs">
<input type="hidden" name="token" value="{$token}">
<input type="hidden" name="purge-logs" value="true">
<button type="submit" class="btn btn-sm btn-outline-danger"><i class="bi bi-trash"></i> Purge</button>
Expand Down
2 changes: 1 addition & 1 deletion themes/default_fr/templates/admin.logs.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1 class="mb-3">Logs</h1>
<div class="my-3">
<div class="row justify-content-between">
<p class="col-auto"><i class="bi bi-file-earmark-text"></i> <code>{$filename}</code></p>
<form class="col-auto" method="post" action="./?admin-logs">
<form class="col-auto" method="post" action="./?admin/logs">
<input type="hidden" name="token" value="{$token}">
<input type="hidden" name="purge-logs" value="true">
<button type="submit" class="btn btn-sm btn-outline-danger"><i class="bi bi-trash"></i> Vider</button>
Expand Down

0 comments on commit 2e6a4ae

Please sign in to comment.