svn commit: r333468 - in user/des/fbce: lib/FBCE/Controller root/lib
Dag-Erling Smørgrav
des at FreeBSD.org
Thu May 10 18:53:41 UTC 2018
Author: des
Date: Thu May 10 18:53:39 2018
New Revision: 333468
URL: https://svnweb.freebsd.org/changeset/base/333468
Log:
Use the configured description instead of a hardcoded one.
Reported by: sevan@
Modified:
user/des/fbce/lib/FBCE/Controller/Root.pm
user/des/fbce/root/lib/help
Modified: user/des/fbce/lib/FBCE/Controller/Root.pm
==============================================================================
--- user/des/fbce/lib/FBCE/Controller/Root.pm Thu May 10 17:57:46 2018 (r333467)
+++ user/des/fbce/lib/FBCE/Controller/Root.pm Thu May 10 18:53:39 2018 (r333468)
@@ -31,6 +31,7 @@ sub auto :Private {
# Stash schedule information etc.
$c->stash(title => $c->config->{'title'});
+ $c->stash(descr => $c->config->{'descr'});
my $now = DateTime->now();
$c->stash(now => $now);
my $schedule = $c->model('Schedule');
Modified: user/des/fbce/root/lib/help
==============================================================================
--- user/des/fbce/root/lib/help Thu May 10 17:57:46 2018 (r333467)
+++ user/des/fbce/root/lib/help Thu May 10 18:53:39 2018 (r333468)
@@ -1,7 +1,7 @@
[%-# $FreeBSD$ -%]
<h3>What is this?</h3>
-<p>This is the website for the 2016 FreeBSD core team elections. See the <a href="[% c.uri_for('/bylaws') | html %]">bylaws</a> and the schedule posted on the front page for additional information on the election rules.</p>
+<p>This is the website for the [% descr | html %]. See the <a href="[% c.uri_for('/bylaws') | html %]">bylaws</a> and the schedule posted on the front page for additional information on the election rules.</p>
<h3>Who has access?</h3>
More information about the svn-src-user
mailing list