diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-04 19:50:42 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-04 19:50:42 +0400 |
commit | 213e117a52d40a74c380c01dc7e84b938ad32ff8 (patch) | |
tree | f4603e1a3fb4cba317bcd8d40af11f1fdd4bf9f6 /app/views/layouts/snippets.html.haml | |
parent | bcc4e4dc7ed0740e92a61fc82c3c669f8f2d8d30 (diff) |
Fixed ability and modify UI a bit
Diffstat (limited to 'app/views/layouts/snippets.html.haml')
-rw-r--r-- | app/views/layouts/snippets.html.haml | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/app/views/layouts/snippets.html.haml b/app/views/layouts/snippets.html.haml index 73b502e9132..147c9d96ce6 100644 --- a/app/views/layouts/snippets.html.haml +++ b/app/views/layouts/snippets.html.haml @@ -4,19 +4,20 @@ %body{class: "#{app_theme} application"} = render "layouts/head_panel", title: "Snippets" = render "layouts/flash" + %nav.main-nav + .container + %ul + = nav_link(path: 'dashboard#show', html_options: {class: 'home'}) do + = link_to root_path, title: "Back to dashboard" do + %i.icon-home + = nav_link(path: 'snippet#new') do + = link_to new_snippet_path do + New snippet + = nav_link(path: 'snippets#user_index') do + = link_to user_snippets_path(@current_user) do + My snippets + = nav_link(path: 'snippets#index') do + = link_to snippets_path do + Discover snippets .container - %ul.main_menu - = nav_link(path: 'dashboard#show', html_options: {class: 'home'}) do - = link_to root_path, title: "Back to dashboard" do - %i.icon-arrow-left - = nav_link(path: 'snippet#new') do - = link_to new_snippet_path do - New snippet - = nav_link(path: 'snippets#user_index') do - = link_to user_snippets_path(@current_user) do - My snippets - = nav_link(path: 'snippets#index') do - = link_to snippets_path do - Discover snippets - .content= yield |