Browse Source

Odkaz na titulní stranu z hlavičky

remotes/origin/cislopdf
Matěj Kocián 9 years ago
parent
commit
993a9df4a8
  1. 7
      mamweb/templates/base.html
  2. 2
      seminar/templates/seminar/stare_novinky.html

7
mamweb/templates/base.html

@ -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'>
<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'>

2
seminar/templates/seminar/stare_novinky.html

@ -3,7 +3,9 @@
{% block content %}
<h2>
{% block nadpis1a %}{% block nadpis1b %}
Archiv novinek
{% endblock %}{% endblock %}
</h2>
{% include 'seminar/novinky.html' %}

Loading…
Cancel
Save