Skip to content

Commit

Permalink
fix: btn style issue in alert
Browse files Browse the repository at this point in the history
  • Loading branch information
tblivet committed Aug 28, 2024
1 parent 18482f5 commit 1c0e34c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 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/block/postUpdateChecklistBlock.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 updates'|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-update-checklist/">
<button class="btn btn-primary" onclick="window.open('https://devdocs.prestashop-project.org/8/basics/keeping-up-to-date/upgrade-module/post-update-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 1c0e34c

Please sign in to comment.