fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Banner colors.
[wolnelektury.git]
/
src
/
annoy
/
templates
/
annoy
/
banner.html
diff --git
a/src/annoy/templates/annoy/banner.html
b/src/annoy/templates/annoy/banner.html
index
97f10c1
..
4b2bdcf
100644
(file)
--- a/
src/annoy/templates/annoy/banner.html
+++ b/
src/annoy/templates/annoy/banner.html
@@
-13,7
+13,12
@@
annoy-banner-style_{{ banner.style }}
{% if banner.image %}with-image{% endif %}
{% if banner.smallfont %}banner-smallfont{% endif %}
annoy-banner-style_{{ banner.style }}
{% if banner.image %}with-image{% endif %}
{% if banner.smallfont %}banner-smallfont{% endif %}
- " id="annoy-banner-{{ banner.id }}">
+ "
+ id="annoy-banner-{{ banner.id }}"
+ style="
+ {% if banner.text_color %}color: {{ banner.text_color }};{% endif %}
+ {% if banner.background_color %}background-color: {{ banner.background_color }};{% endif %}
+ ">
{% if not banner.action_label %}
<a href="{{ banner.url }}">
{% endif %}
{% if not banner.action_label %}
<a href="{{ banner.url }}">
{% endif %}