diff -r 4212fd69d671 -r 67f5d2fdca1d helpers.py --- a/helpers.py Sun Feb 15 23:55:48 2009 +0200 +++ b/helpers.py Mon Feb 16 00:52:20 2009 +0200 @@ -7,7 +7,7 @@ import qmsk.web.helpers -import preferences, urls, config +import preferences, urls, config, version class Helpers (qmsk.web.helpers.Helpers) : """ @@ -23,6 +23,14 @@ # list of (month_num, month_name) for the months in the year months = list(enumerate(_calendar.month_name))[1:] + + def version_link (self) : + """ + Returns a representing this version of the software + """ + + return version.version_link_hg(config.HGWEB_URL, config.HG_WC_PATH) + def tz_name (self, tz) : """ Returns a string describing the given timezone