summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorEvangelos Foutras <evangelos@foutrelis.com>2011-09-01 19:56:05 +0300
committerDan McGee <dan@archlinux.org>2011-09-01 13:15:22 -0500
commit25a15d4c570823c6e28693d68d57b803dc2673fa (patch)
treec1324ba3d299464824f1ec769720d55324fa4c40 /templates
parent2ed3676f61af821e71a5c070e65419cd60906cb8 (diff)
downloadarchweb-25a15d4c570823c6e28693d68d57b803dc2673fa.tar.gz
archweb-25a15d4c570823c6e28693d68d57b803dc2673fa.zip
Use package branches to display commit history
We now have one link pointing to the tree of /trunk, and another pointing to the log of /trunk. Both links specify a package branch. Signed-off-by: Evangelos Foutras <evangelos@foutrelis.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/packages/details.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index afbf9103..fa8283ed 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -16,8 +16,10 @@
<div id="actionlist">
<h4>Package Actions</h4>
<ul class="small">
- <li><a href="{% svn_arch pkg %}" title="View SVN entries in the {{pkg.repo|lower}}-{{pkg.arch}} branch">SVN Entries ({{pkg.repo|lower}}-{{pkg.arch}})</a></li>
- <li><a href="{% svn_trunk pkg %}" title="View SVN entries on trunk">SVN Entries (trunk)</a></li>
+ <li>
+ <a href="{% scm_link pkg 'tree' %}" title="View source files for {{ pkg.pkgname }}">Source Files</a> /
+ <a href="{% scm_link pkg 'log' %}" title="View changes for {{ pkg.pkgname }}">View Changes</a>
+ </li>
<li><a href="{% get_wiki_link pkg %}" title="Search wiki for {{ pkg.pkgname }}">Search Wiki</a></li>
<li><a href="{% bugs_list pkg %}" title="View existing bug tickets for {{ pkg.pkgname }}">Bug Reports</a></li>
<li><a href="{% bug_report pkg %}" title="Report bug for {{ pkg.pkgname }}">Report a Bug</a></li>