Add FAQ link at error page

This commit is contained in:
Pig Fang 2019-12-14 14:52:28 +08:00
parent a3e74065f9
commit c2b81efb4b
2 changed files with 13 additions and 0 deletions

View File

@ -212,3 +212,13 @@ td > input
-webkit-transform none !important
-ms-transform none !important
transform none !important
.faq
display inline-block
text-decoration none
background-color #0069d9
color #fff
padding 5px 15px
margin 20px 0 6px 0
border-radius 3px

View File

@ -20,6 +20,9 @@
{{ include('errors.languages') }}
</h1>
{% block message %}{% endblock %}
{% if auth_user().admin %}
<a class="faq" href="https://blessing.netlify.com/faq.html" target="_blank">FAQ</a>
{% endif %}
{% for script in scripts %}
<script src="{{ script }}"></script>
{% endfor %}