From 8777ccf001374460a573bd1e417b0996a633f6bb Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 1 Mar 2010 21:43:52 -0600 Subject: Fix up HTML titles on a lot of pages We didn't include them on many pages, or the ones we did weren't always useful. Also try to keep the boilerplate to a minimum so you can see the important bits in the title. 'Arch Linux - ' comes first in all titles, and from there it can be filled in with something useful. Signed-off-by: Dan McGee --- templates/404.html | 1 + templates/devel/index.html | 1 + templates/devel/mirrorlist.html | 1 + templates/news/add.html | 1 + templates/news/delete.html | 1 + templates/news/view.html | 1 + templates/packages/details.html | 2 +- templates/packages/files.html | 2 +- templates/packages/flagged.html | 1 + templates/todolists/list.html | 1 + templates/todolists/todolist_confirm_delete.html | 1 + 11 files changed, 11 insertions(+), 2 deletions(-) diff --git a/templates/404.html b/templates/404.html index bc50f69b..9e389ba9 100644 --- a/templates/404.html +++ b/templates/404.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% block title %}Arch Linux - Page Not Found{% endblock %} {% block content %}
diff --git a/templates/devel/index.html b/templates/devel/index.html index e341a8bb..c132bc76 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% block title %}Arch Linux - Developer Dashboard{% endblock %} {% block head %} diff --git a/templates/devel/mirrorlist.html b/templates/devel/mirrorlist.html index 01699daf..630d018d 100644 --- a/templates/devel/mirrorlist.html +++ b/templates/devel/mirrorlist.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% block title %}Arch Linux - Mirror Overview{% endblock %} {% block content %}
diff --git a/templates/news/add.html b/templates/news/add.html index daa75871..ef3f211c 100644 --- a/templates/news/add.html +++ b/templates/news/add.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% block title %}Arch Linux - {% if form.instance.id %}Edit{% else %}Add{% endif %} News{% endblock %} {% block content %}
diff --git a/templates/news/delete.html b/templates/news/delete.html index 0f48f8bb..c3824a26 100644 --- a/templates/news/delete.html +++ b/templates/news/delete.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% block title %}Arch Linux - Delete News{% endblock %} {% block content %}
diff --git a/templates/news/view.html b/templates/news/view.html index 281d8a7e..2f7c3d87 100644 --- a/templates/news/view.html +++ b/templates/news/view.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% block title %}Arch Linux - {{ news.title }}{% endblock %} {% block content %}
diff --git a/templates/packages/details.html b/templates/packages/details.html index 94e9f161..49fdc221 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% block title %}Arch Linux - Package Details - {{ pkg.pkgname }}{% endblock %} +{% block title %}Arch Linux - {{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }} - Package Details{% endblock %} {% block content %}

{{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}

diff --git a/templates/packages/files.html b/templates/packages/files.html index 1d87246c..2fff5ff1 100644 --- a/templates/packages/files.html +++ b/templates/packages/files.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% block title %}Arch Linux - Package File List - {{ pkg.pkgname }}{% endblock %} +{% block title %}Arch Linux - {{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }} - Package File List{% endblock %} {% block content %}

{{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}

diff --git a/templates/packages/flagged.html b/templates/packages/flagged.html index 738b633f..64cb2452 100644 --- a/templates/packages/flagged.html +++ b/templates/packages/flagged.html @@ -1,5 +1,6 @@ {% extends "base.html" %} {% block title %}Arch Linux - Flag Package - {{ pkg.pkgname }}{% endblock %} + {% block content %}

{{pkg.pkgname}} on {{pkg.arch}} has already been flagged out of date. diff --git a/templates/todolists/list.html b/templates/todolists/list.html index 9b423342..ffbab2af 100644 --- a/templates/todolists/list.html +++ b/templates/todolists/list.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% block title %}Arch Linux - Todo Lists{% endblock %} {% block content %}

diff --git a/templates/todolists/todolist_confirm_delete.html b/templates/todolists/todolist_confirm_delete.html index bfa3dbab..c0742d2b 100644 --- a/templates/todolists/todolist_confirm_delete.html +++ b/templates/todolists/todolist_confirm_delete.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% block title %}Arch Linux - Delete Todo List{% endblock %} {% block content %}
-- cgit v1.2.3-54-g00ecf