Rámečky kolem neveřejných podgalerií
This commit is contained in:
parent
fc83152169
commit
b49ab06219
3 changed files with 7 additions and 2 deletions
|
@ -136,6 +136,11 @@
|
|||
top: 160px;
|
||||
}
|
||||
|
||||
.podgalerie_nahled.mam-org-only, .podgalerie_nahled.mam-resitel-only {
|
||||
margin: 10px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
||||
/* Odkazy na předchozí a následující podgalerii */
|
||||
.galerie_predchozi_nasledujici {
|
||||
|
|
|
@ -53,7 +53,7 @@ Galerie {{galerie.nazev}}
|
|||
{% if pgalerie.nazev|length > max_delka_nazvu %}
|
||||
title="{{ pgalerie.nazev }}"
|
||||
{% endif %}
|
||||
class="podgalerie_nahled">
|
||||
class="podgalerie_nahled {% if pgalerie.zobrazit == 1 or pgalerie.zobrazit == 2 %}mam-org-only{% endif %}{% if pgalerie.zobrazit == 3 %}mam-resitel-only{% endif %}">
|
||||
{% if pgalerie.titulni_obrazek %}
|
||||
{% with pgalerie.titulni_obrazek.obrazek_maly as obrazek %}
|
||||
<img src="{{ obrazek.url }}"
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
{% load static %}
|
||||
|
||||
{% block custom_css %}
|
||||
<link href="{% static 'css/galerie.css' %}?version=1" rel="stylesheet">
|
||||
<link href="{% static 'css/galerie.css' %}?version=2" rel="stylesheet">
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue