summaryrefslogtreecommitdiff
path: root/templates/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-05-26 09:58:43 -0500
committerDan McGee <dan@archlinux.org>2010-05-26 09:59:37 -0500
commitc426fbebb786f4b33fd701f37372c30ebfed796a (patch)
tree9fdf95b9f481cd76f49922a1bf142ea86f907095 /templates/packages
parent277117ba34204995efac766b715fe62270a5e908 (diff)
Highlight 'Packages' in navbar when browsing packagesrelease_2010-05-26
Get this working by doing some class business with CSS in order to highlight the correct tab. I had to add some stuff to a variety of pages but it should be working correctly now. Addresses FS#19591. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages')
-rw-r--r--templates/packages/details.html1
-rw-r--r--templates/packages/files.html1
-rw-r--r--templates/packages/flag.html1
-rw-r--r--templates/packages/flagged.html1
-rw-r--r--templates/packages/search.html1
-rw-r--r--templates/packages/signoffs.html1
6 files changed, 6 insertions, 0 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index 88ee4539..c7945b25 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% block title %}Arch Linux - {{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }} - Package Details{% endblock %}
+{% block navbarclass %}anb-packages{% endblock %}
{% block content %}
<div id="pkgdetails" class="box">
diff --git a/templates/packages/files.html b/templates/packages/files.html
index 7dc111b4..ebdfb9cf 100644
--- a/templates/packages/files.html
+++ b/templates/packages/files.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% block title %}Arch Linux - {{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }} - Package File List{% endblock %}
+{% block navbarclass %}anb-packages{% endblock %}
{% block content %}
<div id="pkgdetails" class="box">
diff --git a/templates/packages/flag.html b/templates/packages/flag.html
index 1e85be89..71d84982 100644
--- a/templates/packages/flag.html
+++ b/templates/packages/flag.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% block title %}Arch Linux - Flag Package - {{ pkg.pkgname }}{% endblock %}
+{% block navbarclass %}anb-packages{% endblock %}
{% block content %}
<div id="pkg-flag" class="box">
diff --git a/templates/packages/flagged.html b/templates/packages/flagged.html
index 7d5e1c60..3a39d178 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 navbarclass %}anb-packages{% endblock %}
{% block content %}
<div id="pkg-flagged-error" class="box">
diff --git a/templates/packages/search.html b/templates/packages/search.html
index 2c85f0bc..eaaa07be 100644
--- a/templates/packages/search.html
+++ b/templates/packages/search.html
@@ -1,6 +1,7 @@
{% extends "base.html" %}
{% load package_extras %}
{% block title %}Arch Linux - Package Database{% endblock %}
+{% block navbarclass %}anb-packages{% endblock %}
{% block head %}
<link rel="stylesheet" type="text/css" href="/media/admin_media/css/widgets.css" />
diff --git a/templates/packages/signoffs.html b/templates/packages/signoffs.html
index 930b606e..3040f453 100644
--- a/templates/packages/signoffs.html
+++ b/templates/packages/signoffs.html
@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% block title %}Arch Linux - Package Signoffs{% endblock %}
+{% block navbarclass %}anb-packages{% endblock %}
{% block content %}
{% if packages %}