svn commit: r235755 - in user/des/fbce: lib/FBCE/Controller root
Dag-Erling Smorgrav
des at FreeBSD.org
Mon May 21 23:45:44 UTC 2012
Author: des
Date: Mon May 21 23:45:43 2012
New Revision: 235755
URL: http://svn.freebsd.org/changeset/base/235755
Log:
Remove the *very* dated "what does core do" page.
Add a help page.
Added:
user/des/fbce/root/help.tt
Deleted:
user/des/fbce/root/mission.tt
Modified:
user/des/fbce/lib/FBCE/Controller/Root.pm
Modified: user/des/fbce/lib/FBCE/Controller/Root.pm
==============================================================================
--- user/des/fbce/lib/FBCE/Controller/Root.pm Mon May 21 23:42:38 2012 (r235754)
+++ user/des/fbce/lib/FBCE/Controller/Root.pm Mon May 21 23:45:43 2012 (r235755)
@@ -48,7 +48,7 @@ sub auto :Private {
$c->stash(max_votes => $schedule->{'max_votes'});
# Authentication
- if ($c->request->path !~ m/^(login|logout|bylaws|mission|static\/.*)?$/) {
+ if ($c->request->path !~ m/^(login|logout|bylaws|help|static\/.*)?$/) {
if (!$c->user_exists) {
$c->stash(action => $c->uri_for());
$c->stash(template => 'login.tt');
@@ -101,7 +101,7 @@ sub bylaws :Local :Args(0) {
}
-sub mission :Local :Args(0) {
+sub help :Local :Args(0) {
my ($self, $c) = @_;
}
Added: user/des/fbce/root/help.tt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ user/des/fbce/root/help.tt Mon May 21 23:45:43 2012 (r235755)
@@ -0,0 +1,11 @@
+[% PROCESS lib/html_top %]
+[% PROCESS lib/header %]
+[% WRAPPER lib/main %]
+
+<a name="help"></a>
+<h2>Help</h2>
+[% PROCESS lib/help %]
+
+[% END %]
+[% PROCESS lib/footer %]
+[% PROCESS lib/html_bottom %]
More information about the svn-src-user
mailing list