fnp
/
prawokultury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
promobox, some fixes
[prawokultury.git]
/
migdal
/
templates
/
migdal
/
entry
/
entry_list.html
diff --git
a/migdal/templates/migdal/entry/entry_list.html
b/migdal/templates/migdal/entry/entry_list.html
index
a68bd2a
..
e7dd057
100755
(executable)
--- a/
migdal/templates/migdal/entry/entry_list.html
+++ b/
migdal/templates/migdal/entry/entry_list.html
@@
-30,19
+30,20
@@
<div id="promobox">
<ul id="promobox-switcher">
{% for object in object_list.promobox %}
<div id="promobox">
<ul id="promobox-switcher">
{% for object in object_list.promobox %}
- <li>
- <a href=""
- {% if forloop.counter == 1 %} class="active"{% endif %}
+ <li {% if forloop.counter == 1 %} class="active"{% endif %}>
+ <a href="{{ object.get_absolute_url }}"
>{{ forloop.counter }}</a>
</li>
{% endfor %}
</ul>
>{{ forloop.counter }}</a>
</li>
{% endfor %}
</ul>
+<div id="promobox-wrapper">
<ul class="promobox">
{% for object in object_list.promobox %}
<ul class="promobox">
{% for object in object_list.promobox %}
- {% entry_promobox object %}
+ {% entry_promobox object
forloop.counter
%}
{% endfor %}
</ul>
{% endfor %}
</ul>
+</div>
</div>
{% endif %}
</div>
{% endif %}