[Jifty-commit] r7272 - in jifty/trunk/lib/Jifty/Plugin: .
Jifty commits
jifty-commit at lists.jifty.org
Tue Jun 16 01:12:34 EDT 2009
Author: sartak
Date: Tue Jun 16 01:12:34 2009
New Revision: 7272
Modified:
jifty/trunk/lib/Jifty/Plugin/SetupWizard.pm
jifty/trunk/lib/Jifty/Plugin/SetupWizard/View.pm
Log:
Use "begin" for welcome button
Modified: jifty/trunk/lib/Jifty/Plugin/SetupWizard.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/SetupWizard.pm (original)
+++ jifty/trunk/lib/Jifty/Plugin/SetupWizard.pm Tue Jun 16 01:12:34 2009
@@ -19,8 +19,9 @@
else {
$self->steps([
{
- template => 'welcome',
- header => 'Welcome',
+ template => 'welcome',
+ header => 'Welcome',
+ hide_button => 1,
},
# Not sure this is worth doing quite yet.
# {
Modified: jifty/trunk/lib/Jifty/Plugin/SetupWizard/View.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/SetupWizard/View.pm (original)
+++ jifty/trunk/lib/Jifty/Plugin/SetupWizard/View.pm Tue Jun 16 01:12:34 2009
@@ -136,7 +136,18 @@
p {
outs_raw _("This setup wizard was activated by the presence of <tt>SetupMode: 1</tt> in one of your configuration files. If you are seeing this erroneously, you may restore normal operation by adjusting the <tt>etc/site_config.yml</tt> file to have <tt>SetupMode: 0</tt> set under <tt>framework</tt>.");
- }
+ };
+
+ form_submit(
+ label => _('Begin'),
+ onclick => {
+ # Advance to the next step
+ refresh_self => 1,
+ arguments => {
+ step => get('step') + 1,
+ },
+ },
+ );
};
template '/__jifty/admin/setupwizard/language' => sub {
More information about the Jifty-commit
mailing list