2012-02-09 08:59:04 +01:00
|
|
|
!!! 5
|
2012-08-11 00:07:50 +02:00
|
|
|
%html{ lang: "en"}
|
2012-02-09 08:59:04 +01:00
|
|
|
= render "layouts/head"
|
2012-08-11 00:07:50 +02:00
|
|
|
%body{class: "#{app_theme} profile"}
|
2012-02-09 08:59:14 +01:00
|
|
|
= render "layouts/flash"
|
2012-08-11 00:07:50 +02:00
|
|
|
= render "layouts/head_panel", title: "Profile"
|
2012-02-12 16:48:17 +01:00
|
|
|
.container
|
2012-07-03 19:52:48 +02:00
|
|
|
%ul.main_menu
|
2012-08-11 00:07:50 +02:00
|
|
|
%li.home{class: tab_class(:profile)}
|
2012-07-03 19:52:48 +02:00
|
|
|
= link_to "Profile", profile_path
|
|
|
|
|
2012-09-14 18:13:25 +02:00
|
|
|
%li{class: tab_class(:account)}
|
|
|
|
= link_to "Account", profile_account_path
|
2012-07-03 19:52:48 +02:00
|
|
|
|
2012-08-11 00:07:50 +02:00
|
|
|
%li{class: tab_class(:ssh_keys)}
|
2012-07-21 09:27:09 +02:00
|
|
|
= link_to keys_path do
|
|
|
|
SSH Keys
|
|
|
|
%span.count= current_user.keys.count
|
|
|
|
|
2012-08-11 00:07:50 +02:00
|
|
|
%li{class: tab_class(:design)}
|
2012-07-03 19:52:48 +02:00
|
|
|
= link_to "Design", profile_design_path
|
|
|
|
|
2012-09-14 18:13:25 +02:00
|
|
|
%li{class: tab_class(:history)}
|
|
|
|
= link_to "History", profile_history_path
|
|
|
|
|
2012-07-03 19:52:48 +02:00
|
|
|
|
2012-01-29 22:59:12 +01:00
|
|
|
.content
|
2012-03-03 12:03:03 +01:00
|
|
|
= yield
|