fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Content warnings.
[wolnelektury.git]
/
src
/
catalogue
/
templates
/
catalogue
/
snippets
/
content_warning.html
1
{% load i18n %}
2
{% if warnings %}
3
<p class="content-warning" style="background-color: #9e3610; color:white; display:inline-block; padding: 5px 10px; border-radius: 1em;">
4
{% trans "Caution: text contains" %}
5
{% for w in warnings %}{% if forloop.counter > 1 %},{% endif %}
6
{{ w }}{% endfor %}.
7
</p>
8
{% endif %}