aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2016-02-05 01:23:44 +0100
committerDan Fandrich <dan@coneharvesters.com>2016-02-05 01:23:44 +0100
commit10b5a9262867b569e7bbb7a19c4c6fee0adf6ec9 (patch)
tree85d4baf187a8b95a8f5f9261e068c2b56befeae0
parent0cb0541fdf13ed101391efc39c2b81daf1ed58f1 (diff)
downloadmgapeople-10b5a9262867b569e7bbb7a19c4c6fee0adf6ec9.tar
mgapeople-10b5a9262867b569e7bbb7a19c4c6fee0adf6ec9.tar.gz
mgapeople-10b5a9262867b569e7bbb7a19c4c6fee0adf6ec9.tar.bz2
mgapeople-10b5a9262867b569e7bbb7a19c4c6fee0adf6ec9.tar.xz
mgapeople-10b5a9262867b569e7bbb7a19c4c6fee0adf6ec9.zip
Link to svnweb when displaying package names
-rw-r--r--mgapeople.conf2
-rw-r--r--tmpl/user.html2
2 files changed, 3 insertions, 1 deletions
diff --git a/mgapeople.conf b/mgapeople.conf
index 6947fcf..500c51e 100644
--- a/mgapeople.conf
+++ b/mgapeople.conf
@@ -11,3 +11,5 @@ maintdburl: http://pkgsubmit.mageia.org/data/maintdb.txt
sitename: people.mageia.org
staticdir_url: /static
links_protocol: https://
+package_url: https://svnweb.mageia.org/packages/cauldron/
+package_url_suffix: /current/
diff --git a/tmpl/user.html b/tmpl/user.html
index 789069e..135d51e 100644
--- a/tmpl/user.html
+++ b/tmpl/user.html
@@ -28,7 +28,7 @@
<ul>
[% FOREACH pkg IN maintdb.$login %]
<li>
- [% pkg %]
+ <a href="[% package_url %][% pkg %][% package_url_suffix %]">[% pkg %]</a>
</li>
[% END %]
</ul>