1
0
Fork 0
mirror of https://github.com/Lynnesbian/FediBooks/ synced 2024-11-25 16:48:58 +00:00

show report bug button on error banner

This commit is contained in:
Lynne Megido 2019-09-07 14:01:06 +10:00
parent 34db513785
commit 487939fec0
2 changed files with 7 additions and 1 deletions

View file

@ -44,6 +44,9 @@ body {
.full-width { .full-width {
width: 100%; width: 100%;
} }
.no-margin {
margin: 0;
}
.panel-icon { .panel-icon {
width: 100px; width: 100px;

View file

@ -1,3 +1,6 @@
{% if error != None %} {% if error != None %}
<div class="error"><i class="fas fa-exclamation-triangle"></i> {{ error }}</div> <div class="error">
<i class="fas fa-exclamation-triangle"></i> {{ error }}
<p class='tiny no-margin'><a class='button btn-small btn-dangerous' href='/issue/bug'><i class="fas fa-exclamation-circle"></i> Report bug</a></p>
</div>
{% endif %} {% endif %}