Odkaz na titulní stranu z hlavičky
This commit is contained in:
parent
01f41bc71d
commit
993a9df4a8
2 changed files with 10 additions and 7 deletions
|
@ -30,9 +30,8 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
<body class='{% if user.is_authenticated %}org-logged-in{% endif %}'>
|
<body class='{% if user.is_staff %}org-logged-in{% endif %}'>
|
||||||
{# TODO predelat pro pouze pro orgy (misto pro prihlasene) #}
|
{% if user.is_staff %}
|
||||||
{% if user.is_authenticated %}
|
|
||||||
<div class="login-bar" style='background: #F80;'>
|
<div class="login-bar" style='background: #F80;'>
|
||||||
{% if view.object %}
|
{% if view.object %}
|
||||||
Objekt {{ view.object }}: {{ view.object }}
|
Objekt {{ view.object }}: {{ view.object }}
|
||||||
|
@ -48,10 +47,12 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class='row'>
|
<div class='row'>
|
||||||
<div class='col-md-12'>
|
<div class='col-md-12'>
|
||||||
<div id="header">
|
<a href='/'>
|
||||||
<img class="logo" src="{% static 'images/logo.png' %}" />
|
<div id="header">
|
||||||
<!--<h1>{% block nadpis1b %}Nadpis 1. úrovně{% endblock %}</h1>-->
|
<img class="logo" src="{% static 'images/logo.png' %}" />
|
||||||
</div>
|
<!--<h1>{% block nadpis1b %}Nadpis 1. úrovně{% endblock %}</h1>-->
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class='row'>
|
<div class='row'>
|
||||||
|
|
|
@ -3,7 +3,9 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<h2>
|
<h2>
|
||||||
|
{% block nadpis1a %}{% block nadpis1b %}
|
||||||
Archiv novinek
|
Archiv novinek
|
||||||
|
{% endblock %}{% endblock %}
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
{% include 'seminar/novinky.html' %}
|
{% include 'seminar/novinky.html' %}
|
||||||
|
|
Loading…
Reference in a new issue