Date: Thu, 10 May 2018 18:53:39 +0000 (UTC) From: =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= <des@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r333468 - in user/des/fbce: lib/FBCE/Controller root/lib Message-ID: <201805101853.w4AIrdt5058961@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805101853.w4AIrdt5058961>