2012-02-09 08:59:04 +01:00
|
|
|
!!! 5
|
2012-08-11 00:07:50 +02:00
|
|
|
%html{ lang: "en"}
|
2012-11-28 18:40:54 +01:00
|
|
|
= render "layouts/head", title: "Profile"
|
2012-08-11 00:07:50 +02:00
|
|
|
%body{class: "#{app_theme} profile"}
|
|
|
|
= render "layouts/head_panel", title: "Profile"
|
2013-02-28 10:06:52 +01:00
|
|
|
= render "layouts/flash"
|
2012-02-12 16:48:17 +01:00
|
|
|
.container
|
2012-07-03 19:52:48 +02:00
|
|
|
%ul.main_menu
|
2012-12-02 12:29:24 +01:00
|
|
|
= nav_link(path: 'profiles#show', html_options: {class: 'home'}) do
|
2013-01-31 10:22:06 +01:00
|
|
|
= link_to profile_path, title: "Profile" do
|
|
|
|
%i.icon-home
|
2012-12-02 12:29:24 +01:00
|
|
|
= nav_link(path: 'profiles#account') do
|
|
|
|
= link_to "Account", account_profile_path
|
2013-03-27 18:04:29 +01:00
|
|
|
= nav_link(controller: :notifications) do
|
|
|
|
= link_to "Notifications", profile_notifications_path
|
2012-09-26 22:14:17 +02:00
|
|
|
= nav_link(controller: :keys) do
|
2012-07-21 09:27:09 +02:00
|
|
|
= link_to keys_path do
|
|
|
|
SSH Keys
|
|
|
|
%span.count= current_user.keys.count
|
2012-12-02 12:29:24 +01:00
|
|
|
= nav_link(path: 'profiles#design') do
|
|
|
|
= link_to "Design", design_profile_path
|
|
|
|
= nav_link(path: 'profiles#history') do
|
|
|
|
= link_to "History", history_profile_path
|
2012-09-14 18:13:25 +02:00
|
|
|
|
2012-09-26 22:14:17 +02:00
|
|
|
.content= yield
|