Commit 23e36202 authored by Drew Blessing's avatar Drew Blessing

Improve Help navigation UI

Make hash keys symbols
parent 477e9f87
.row .row
.span3{:"data-spy" => 'affix'} .span3{:"data-spy" => 'affix'}
.ui-box %h3.page-title Help
.title %ul.nav.nav-pills.nav-stacked
Help - links = {:"Workflow" => help_workflow_path, :"SSH Keys" => help_ssh_path, :"GitLab Markdown" => help_markdown_path, :"Permissions" => help_permissions_path, :"API" => help_api_path, :"Web Hooks" => help_web_hooks_path, :"Rake Tasks" => help_raketasks_path, :"System Hooks" => help_system_hooks_path, :"Public Access" => help_public_access_path, :"Security" => help_security_path}
%ul.well-list - links.each do |title,path|
%li %li{class: current_page?(path) ? 'active' : nil}
%strong= link_to "Workflow", help_workflow_path = link_to title, path
%li
%strong= link_to "SSH keys", help_ssh_path
%li
%strong= link_to "GitLab Markdown", help_markdown_path
%li
%strong= link_to "Permissions", help_permissions_path
%li
%strong= link_to "API", help_api_path
%li
%strong= link_to "Web Hooks", help_web_hooks_path
%li
%strong= link_to "Rake Tasks", help_raketasks_path
%li
%strong= link_to "System Hooks", help_system_hooks_path
%li
%strong= link_to "Public Access", help_public_access_path
%li
%strong= link_to "Security", help_security_path
.span9.pull-right .span9.pull-right
= yield = yield
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment