Skip to content

Commit

Permalink
Moved wizards to the top level of the site
Browse files Browse the repository at this point in the history
  • Loading branch information
cykod committed Oct 20, 2010
1 parent d013d8d commit 621d753
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/structure/view.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@


<% action_panel :handler => 'structure', :more => true do |p| -%>
<%= p.link('Wizards',:icon => 'configure.gif',:action => 'wizards', :version => @version.id ) if @wizard_list.length > 0 -%>
<%= p.link 'Add Site Elements',:id => 'show_add_elements_button',:hidden => true, :icon => 'add.png', :url => 'javascript:StructureEditor.showElementInfo(false);' %>
<% end -%>
Expand All @@ -19,7 +20,6 @@ if @show_archived == 'hide'
p.link 'Hide Archived', :icon => 'show.gif', :url => '?archived=hide&version=' +@version.id.to_s
end
%>
<%= p.link('Wizards',:icon => 'configure.gif',:action => 'wizards', :version => @version.id ) if @wizard_list.length > 0 -%>
<%= p.link 'Quick Edit', :icon => 'edit.gif', :url => {:action => 'pages', :path => @version.id} %>
<% end -%>
Expand Down
1 change: 1 addition & 0 deletions app/views/structure/wizards.rhtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
<% @wizard_list.each do |wizard| -%>
<h2><%= link_to wizard[:name], wizard[:url].merge(:version=> @version.id) -%></h2>
<%= simple_format(wizard[:description]) -%>
<br/>
<% end -%>
</div>

0 comments on commit 621d753

Please sign in to comment.