From 7bb61331e3673b8de6179897eeb812ac1e197b88 Mon Sep 17 00:00:00 2001
From: Dan McGee <dan@archlinux.org>
Date: Wed, 4 Aug 2010 07:06:34 -0500
Subject: Add missing or update title attribute on links

Signed-off-by: Dan McGee <dan@archlinux.org>
---
 templates/packages/details.html | 9 ++++++---
 templates/packages/search.html  | 2 +-
 2 files changed, 7 insertions(+), 4 deletions(-)

(limited to 'templates/packages')

diff --git a/templates/packages/details.html b/templates/packages/details.html
index 93b9eb7e..3590f3c6 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -58,7 +58,8 @@ <h2>Package Details: {{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}</h2>
             <th>Split Packages:</th>
             <td>
                 {% for s in splits %}
-                <a href="{{ s.get_absolute_url }}">{{ s.pkgname }}</a><br/>
+                <a href="{{ s.get_absolute_url }}"
+                    title="Package details for {{ pkg.pkgname }}">{{ s.pkgname }}</a><br/>
                 {% endfor %}
             </td>
         </tr>
@@ -67,7 +68,8 @@ <h2>Package Details: {{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}</h2>
         <tr>
             <th>Base Package:</th>
             {% if pkg.base_package %}
-            <td><a href="{{ pkg.base_package.get_absolute_url }}">{{ pkg.pkgbase }}</a></td>
+            <td><a href="{{ pkg.base_package.get_absolute_url }}"
+                    title="Package details for {{ pkg.base_package.pkgname }}">{{ pkg.pkgbase }}</a></td>
             {% else %}
             <td>{{ pkg.pkgbase }}</td>
             {% endif %}
@@ -78,7 +80,8 @@ <h2>Package Details: {{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}</h2>
             <td>{% if pkg.pkgdesc %}{{ pkg.pkgdesc }}{% endif %}</td>
         </tr><tr>
             <th>Upstream URL:</th>
-            <td>{% if pkg.url %}<a href="{{ pkg.url }}">{{ pkg.url }}</a>{% endif %}</td>
+            <td>{% if pkg.url %}<a href="{{ pkg.url }}"
+                    title="Visit the website for {{ pkg.pkgname }}">{{ pkg.url }}</a>{% endif %}</td>
         </tr><tr>
             <th>License:</th>
             <td>{{ pkg.license }}</td>
diff --git a/templates/packages/search.html b/templates/packages/search.html
index b3410962..e9afad95 100644
--- a/templates/packages/search.html
+++ b/templates/packages/search.html
@@ -95,7 +95,7 @@ <h3>Package Search</h3>
                     <td>{{ pkg.arch.name }}</td>
                     <td>{{ pkg.repo.name|capfirst }}</td>
                     <td><a href="{{ pkg.get_absolute_url }}"
-                            title="View package details for {{ pkg.pkgname }}">{{ pkg.pkgname }}</a></td>
+                            title="Package details for {{ pkg.pkgname }}">{{ pkg.pkgname }}</a></td>
                     {% if pkg.flag_date %}
                     <td><span class="flagged">{{ pkg.pkgver }}-{{ pkg.pkgrel }}</span></td>
                     {% else %}
-- 
cgit v1.2.3-54-g00ecf