X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=templates%2Fconfig.tmpl;h=85c52f790939478b2a4304fe598865b407938114;hp=c99694e5c4f063bdf823e9c0b46e9b358c1ac910;hb=89c17478db69effd1c96f4e284ad46f5b4d72c17;hpb=ca605dba77e7901e6b99a59fe8d8a9de776614b7 diff --git a/templates/config.tmpl b/templates/config.tmpl index c99694e..85c52f7 100644 --- a/templates/config.tmpl +++ b/templates/config.tmpl @@ -4,10 +4,12 @@ ddtp_lang = 'en' organisation = 'Debian' - homepage = 'http://www.debian.org/' - packages_homepage = 'http://packages.debian.net/' + project_homepage = 'http://www.debian.org/' + packages_homepage = '/' + packages_homepage_abs = 'http://packages.debian.net/' + old_releases = 'http://archive.debian.net/' searchformurl = packages_homepage - search_url = '/' + search_url = '/search' tags_url = 'http://debtags.alioth.debian.org/' bugs_url = 'http://bugs.debian.org/' pts_url = 'http://packages.qa.debian.org/' @@ -19,9 +21,10 @@ security_suite_suffix = '/updates' changelogs_url = 'http://packages.debian.org/changelogs/' policy_url = 'http://www.debian.org/doc/debian-policy/' - cn_help_url = homepage _ 'intro/cn' + cn_help_url = project_homepage _ 'intro/cn' + patch_tracking_url = 'http://patch-tracker.debian.org/package' logo = { - url => homepage, + url => project_homepage, src => '/Pics/openlogo-nd-25.png', alt => organisation, } @@ -31,27 +34,37 @@ years => '1997 - ' _ timestamp.year, } license = { - url => homepage _ 'license' + url => project_homepage _ 'license' } trademark = { name => copyright.name, - url => homepage _ 'trademark' + url => project_homepage _ 'trademark' } contact = { name => g('Debian Web Mailinglist'), mail => 'debian-www@lists.debian.org', - url => homepage _ 'contact', + url => project_homepage _ 'contact', } admin = { name => g('%s Webmaster', organisation), mail => 'webmaster@debian.org', } trademarknotes = g('%s is a trademark of %s', organisation, trademark.url, trademark.name) + sponsors = [ + { + url => 'http://example.invalid/', + name => 'Example Sponsor, Inc.', + }, + { + url => 'http://example2.invalid/', + name => 'Example2 Sponsor, Inc.', + }, + ] -%] [%- # possible values for importance: high, normal, low sitewidemsg = { importance => "high", - txt => g('Please note that this is an experimental version of packages.debian.org. Errors and obsolete information should be expected') } + txt => g('Please note that this is an experimental version of %s. Errors and obsolete information should be expected', 'packages.debian.org', 'packages.debian.org') } -%] [%# @translators: . = decimal_point , = thousands_sep, see Number::Format %] [%- USE num = Number.Format( decimal_point => g('.'),