|
@ -632,7 +632,7 @@ class ArchivView(generic.ListView): |
|
|
if c.titulka_nahled: |
|
|
if c.titulka_nahled: |
|
|
urls[c.rocnik] = c.titulka_nahled.url |
|
|
urls[c.rocnik] = c.titulka_nahled.url |
|
|
else: |
|
|
else: |
|
|
urls[c.rocnik] = op.join(settings.MEDIA_URL, "cislo", "png", "default.png") |
|
|
urls[c.rocnik] = op.join(settings.STATIC_URL, "images", "no-picture.png") |
|
|
|
|
|
|
|
|
context["object_list"] = urls |
|
|
context["object_list"] = urls |
|
|
|
|
|
|
|
|