Skip to content

Commit

Permalink
fix: btn
Browse files Browse the repository at this point in the history
  • Loading branch information
tblivet committed Aug 28, 2024
1 parent 2084e99 commit 641a836
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions views/templates/block/postRestoreChecklistBlock.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
{{ 'Before continuing with your tasks, please review the following checklist to ensure smooth operation after recent recovery.'|trans({}) }}
</div>
<div style="margin-left: auto">
<a class="btn btn-primary" target="_blank" href="https://devdocs.prestashop-project.org/8/basics/keeping-up-to-date/upgrade-module/post-restore-checklist/">
<button class="btn btn-primary" onclick="window.open('https://devdocs.prestashop-project.org/8/basics/keeping-up-to-date/upgrade-module/post-restore-checklist/', '_blank');">
<i class="material-icons" style="font-size: 18px; margin-right: 4px;">
launch
</i>
{{ 'Open developer documentation'|trans({}) }}
</a>
</button>
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions views/templates/error.html.twig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="alert alert-danger">
{{ message }}
<a class="btn btn-primary" style="margin-left: 10px;" href="javascript:window.history.back();">
<button class="btn btn-primary" style="margin-left: 10px;" onclick="javascript:window.history.back();">
{{ 'Go back'|trans({}, 'Admin.Actions') }}
</a>
</button>
</div>

0 comments on commit 641a836

Please sign in to comment.