Skip to content
Snippets Groups Projects
Commit bdfe0846 authored by Andreas Valder's avatar Andreas Valder
Browse files

added usefull page title, closes #64

parent 0745e3cd
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<html> <html>
<head> <head>
{% block header %} {% block header %}
<title>Video AG {% block title %}{% endblock %}</title> <title>Video AG {% block title %}{% for endpoint, caption, iconlib, gly, visible in navbar if ((visible or ismod()) and (endpoint == request.endpoint)) %}- {{ caption }}{% else%}{% endfor %}{% endblock %}</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="icon" type="image/png" href="{{url_for('static', filename='favicon.png')}}"> <link rel="icon" type="image/png" href="{{url_for('static', filename='favicon.png')}}">
<meta http-equiv="content-language" content="de-DE"> <meta http-equiv="content-language" content="de-DE">
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
{% from 'macros.html' import moderator_permissioneditor %} {% from 'macros.html' import moderator_permissioneditor %}
{% extends "base.html" %} {% extends "base.html" %}
{% block title %} - {{course.title}}{% endblock %}
{% block content %} {% block content %}
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
{% set page_border = 0 -%} {% set page_border = 0 -%}
{% extends "base.html" %} {% extends "base.html" %}
{% block title %}- {{ course.title }}: {{ lecture.title}}{% endblock %}
{% block navbar %} {% block navbar %}
{% endblock %} {% endblock %}
{% block content %} {% block content %}
......
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
{% set page_border = 0 -%} {% set page_border = 0 -%}
{% extends "base.html" %} {% extends "base.html" %}
{% block title %}- {{ course.title }}: {{ lecture.title}}{% endblock %}
{% block header %} {% block header %}
{{ super() }} {{ super() }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment