# HG changeset patch # User Tero Marttila # Date 1234470894 -7200 # Node ID df859bfdd3be4c5047b2385b0f31b3d058319f9b # Parent f530c158aa079b57cc6e2a2f23e5792d40f9e233 add version string diff -r f530c158aa07 -r df859bfdd3be config.py --- a/config.py Thu Feb 12 01:53:52 2009 +0200 +++ b/config.py Thu Feb 12 22:34:54 2009 +0200 @@ -8,6 +8,7 @@ from log_source import LogSourceDecoder, LogDirectory from log_formatter import IrssiFormatter, DebugFormatter from channels import ChannelList +import version import log_formatter # build relative paths @@ -51,6 +52,13 @@ ) ]) +# version stuff +HGWEB_URL = "http://hg.qmsk.net/irclogs2" +VERSION_LINK = version.version_link_hg(HGWEB_URL) + +# Footer text to display +HTML_FOOTER_TEXT = 'irclogs2 version %s' % (VERSION_LINK) + # how to handle decode() errors for logfile lines LOG_SOURCE_DECODE_ERRORS = 'replace' diff -r f530c158aa07 -r df859bfdd3be templates/layout.tmpl --- a/templates/layout.tmpl Thu Feb 12 01:53:52 2009 +0200 +++ b/templates/layout.tmpl Thu Feb 12 22:34:54 2009 +0200 @@ -41,7 +41,7 @@