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>
|
||||
|
||||
</head>
|
||||
<body class='{% if user.is_authenticated %}org-logged-in{% endif %}'>
|
||||
{# TODO predelat pro pouze pro orgy (misto pro prihlasene) #}
|
||||
{% if user.is_authenticated %}
|
||||
<body class='{% if user.is_staff %}org-logged-in{% endif %}'>
|
||||
{% if user.is_staff %}
|
||||
<div class="login-bar" style='background: #F80;'>
|
||||
{% if view.object %}
|
||||
Objekt {{ view.object }}: {{ view.object }}
|
||||
|
@ -48,10 +47,12 @@
|
|||
<div class="container">
|
||||
<div class='row'>
|
||||
<div class='col-md-12'>
|
||||
<div id="header">
|
||||
<img class="logo" src="{% static 'images/logo.png' %}" />
|
||||
<!--<h1>{% block nadpis1b %}Nadpis 1. úrovně{% endblock %}</h1>-->
|
||||
</div>
|
||||
<a href='/'>
|
||||
<div id="header">
|
||||
<img class="logo" src="{% static 'images/logo.png' %}" />
|
||||
<!--<h1>{% block nadpis1b %}Nadpis 1. úrovně{% endblock %}</h1>-->
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class='row'>
|
||||
|
|
|
@ -3,7 +3,9 @@
|
|||
{% block content %}
|
||||
|
||||
<h2>
|
||||
{% block nadpis1a %}{% block nadpis1b %}
|
||||
Archiv novinek
|
||||
{% endblock %}{% endblock %}
|
||||
</h2>
|
||||
|
||||
{% include 'seminar/novinky.html' %}
|
||||
|
|
Loading…
Reference in a new issue