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> </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'>
<a href='/'>
<div id="header"> <div id="header">
<img class="logo" src="{% static 'images/logo.png' %}" /> <img class="logo" src="{% static 'images/logo.png' %}" />
<!--<h1>{% block nadpis1b %}Nadpis 1. úrovně{% endblock %}</h1>--> <!--<h1>{% block nadpis1b %}Nadpis 1. úrovně{% endblock %}</h1>-->
</div> </div>
</a>
</div> </div>
</div> </div>
<div class='row'> <div class='row'>

2
seminar/templates/seminar/stare_novinky.html

@ -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…
Cancel
Save