added sitename to templates, temporarily hardcoded in views.py; should come from config
svn: r19579
This commit is contained in:
parent
93a57457da
commit
c6db40a14d
@ -1,8 +1,8 @@
|
|||||||
{% extends "gramps-base.html" %}
|
{% extends "gramps-base.html" %}
|
||||||
{% load my_tags %}
|
{% load my_tags %}
|
||||||
|
|
||||||
{% block title %}Gramps-Connect{% endblock %}
|
{% block title %}{{sitename}}{% endblock %}
|
||||||
{% block heading %}Gramps-Connect{% endblock %}
|
{% block heading %}{{sitename}}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
|
||||||
<head>
|
<head>
|
||||||
<title>{% block title %}Gramps-Connect{% endblock %}</title>
|
<title>{% block title %}{{sitename}}{% endblock %}</title>
|
||||||
{% block meta %}
|
{% block meta %}
|
||||||
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
|
||||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||||
@ -48,7 +48,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body onload="if (document.getElementById('get_focus')) {document.getElementById('get_focus').focus();}">
|
<body onload="if (document.getElementById('get_focus')) {document.getElementById('get_focus').focus();}">
|
||||||
<div id="header" style="padding-top: 1em; background-position:0px -32px;">
|
<div id="header" style="padding-top: 1em; background-position:0px -32px;">
|
||||||
<h1 id="SiteTitle" style="margin-left: 0em;">{% block heading %}Gramps-Connect{% endblock %}</h1>
|
<h1 id="SiteTitle" style="margin-left: 0em;">{% block heading %}{{sitename}}{% endblock %}</h1>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wrapper" role="navigation" id="nav">
|
<div class="wrapper" role="navigation" id="nav">
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
{% extends "gramps-base.html" %}
|
{% extends "gramps-base.html" %}
|
||||||
{% load my_tags %}
|
{% load my_tags %}
|
||||||
|
|
||||||
{% block title %}Gramps-Connect{% endblock %}
|
{% block title %}{{sitename}}{% endblock %}
|
||||||
{% block heading %}Gramps-Connect{% endblock %}
|
{% block heading %}{{sitename}}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<p> </p>
|
<p> </p>
|
||||||
|
|
||||||
<p id="description">Welcome to Gramps-Connect, a new web-based collaboration tool.
|
<p id="description">Welcome to <b>{{sitename}}</b>, a new web-based collaboration tool.
|
||||||
|
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
You are now logged in
|
You are now logged in
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{% extends "gramps-base.html" %}
|
{% extends "gramps-base.html" %}
|
||||||
|
|
||||||
{% block title %}Gramps-Connect - user page {% endblock %}
|
{% block title %}{{sitename}} - user page {% endblock %}
|
||||||
{% block heading %}Gramps-Connect - user page {% endblock %}
|
{% block heading %}{{sitename}} - user page {% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{% extends "gramps-base.html" %}
|
{% extends "gramps-base.html" %}
|
||||||
{% block title %}Gramps-Connect: {{tview}} detail {% endblock %}
|
{% block title %}{{sitename}}: {{tview}} detail {% endblock %}
|
||||||
{% block heading %}Gramps-Connect: {{tview}} detail {% endblock %}
|
{% block heading %}{{sitename}}: {{tview}} detail {% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{% extends "gramps-base.html" %}
|
{% extends "gramps-base.html" %}
|
||||||
{% load my_tags %}
|
{% load my_tags %}
|
||||||
|
|
||||||
{% block title %}Gramps-Connect: {{tview}} view {% endblock %}
|
{% block title %}{{sitename}}: {{tview}} view {% endblock %}
|
||||||
{% block heading %}Gramps-Connect: {{tview}} view {% endblock %}
|
{% block heading %}{{sitename}}: {{tview}} view {% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{% extends "gramps-base.html" %}
|
{% extends "gramps-base.html" %}
|
||||||
{% load my_tags %}
|
{% load my_tags %}
|
||||||
|
|
||||||
{% block title %}Gramps-Connect: {{tview}} detail {% endblock %}
|
{% block title %}{{sitename}}: {{tview}} detail {% endblock %}
|
||||||
{% block heading %}Gramps-Connect: {{tview}} detail {% endblock %}
|
{% block heading %}{{sitename}}: {{tview}} detail {% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
|
@ -95,6 +95,7 @@ def context_processor(request):
|
|||||||
context["menu"] = MENU
|
context["menu"] = MENU
|
||||||
context["True"] = True
|
context["True"] = True
|
||||||
context["False"] = False
|
context["False"] = False
|
||||||
|
context["sitename"] = "Example Family Tree"
|
||||||
context["default"] = ""
|
context["default"] = ""
|
||||||
return context
|
return context
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user