[Jifty-commit] r7275 - jifty/trunk/lib/Jifty/Plugin/SetupWizard
Jifty commits
jifty-commit at lists.jifty.org
Wed Jun 17 03:23:56 EDT 2009
Author: sartak
Date: Wed Jun 17 03:23:55 2009
New Revision: 7275
Modified:
jifty/trunk/lib/Jifty/Plugin/SetupWizard/View.pm
Log:
Linkify the steps in the welcome page
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 Wed Jun 17 03:23:55 2009
@@ -137,8 +137,14 @@
}
ol {
- for my $step (@{ Jifty->find_plugin('Jifty::Plugin::SetupWizard')->steps }) {
- li { $step->{header} }
+ for my $i (0 .. @{ Jifty->find_plugin('Jifty::Plugin::SetupWizard')->steps } - 1) {
+ li {
+ step_link(
+ index => $i,
+ label => "%1",
+ current => $i == get('step'),
+ );
+ }
}
}
More information about the Jifty-commit
mailing list