aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-11-15 09:44:07 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-11-15 09:44:07 +0000
commit88018ee7e76a9e5cfc33bec1c6f686d3c6bfd544 (patch)
tree6566f14d8c7aaef90f247d65d0cd26ffc2b8e977 /web
parentUse correct homepage. (diff)
downloadpackages-88018ee7e76a9e5cfc33bec1c6f686d3c6bfd544.tar.gz
packages-88018ee7e76a9e5cfc33bec1c6f686d3c6bfd544.tar.bz2
packages-88018ee7e76a9e5cfc33bec1c6f686d3c6bfd544.zip
Add metadata.xml link per bug #66917.
Diffstat (limited to 'web')
-rw-r--r--web/model.py1
-rw-r--r--web/templates/layout.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/web/model.py b/web/model.py
index 40a6d04..8ae5f82 100644
--- a/web/model.py
+++ b/web/model.py
@@ -423,6 +423,7 @@ class PackageDB(object):
pkg['homepage'] = ' '.join(pkg['homepage'])
pkg['changelog'] = viewcvs_link('%s/ChangeLog' % (atom.key))
+ pkg['metadataxml'] = viewcvs_link('%s/metadata.xml' % (atom.key))
pkg['bugzilla'] = bugzilla_search_link(pn)
pkg['forums'] = forums_search_link(pn)
return pkg
diff --git a/web/templates/layout.html b/web/templates/layout.html
index 838079e..801314d 100644
--- a/web/templates/layout.html
+++ b/web/templates/layout.html
@@ -123,7 +123,7 @@ def alpha_url(baseurl):
<td class="category"><a href="${relurl('/category/'+pkg.meta.atom.category)}">${pkg.meta.atom.category}</a></td>
<td class="homepage">${HTML(pkg.homepage)}</td>
<td class="license">${HTML(pkg.license)}</td>
- <td class="changelog" ><a href="${pkg.changelog}">ChangeLog</a></td>
+ <td class="changelog" ><a href="${pkg.changelog}">ChangeLog</a> <a href="${pkg.metadataxml}">Metadata</a></td>
<td class="similar" >Similar</td>
<td class="bugz" ><a href="${pkg.bugzilla}">Bugs</a></td>
<td class="forums" ><a href="${pkg.forums}">Forums</a></td>