_settings_nav.haml 1.01 KB
Newer Older
1
#section_header
fla's avatar
fla committed
2 3 4
  .sidebar-header.clearfix
    %h3
      = t("settings")
Steffen van Bergerem's avatar
Steffen van Bergerem committed
5 6 7 8
  .list-group#settings_nav
    = link_to t("profile"), edit_profile_path,
      class: current_page?(edit_profile_path) ? "list-group-item active" : "list-group-item"
    = link_to t("account"), edit_user_path,
9
      class: request.path == edit_user_path ? "list-group-item active" : "list-group-item"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
10 11
    = link_to t("privacy"), privacy_settings_path,
      class: current_page?(privacy_settings_path) ? "list-group-item active" : "list-group-item"
lislis's avatar
lislis committed
12 13
    = link_to t("two_factor_auth.title"), two_factor_authentication_path,
      class: current_page?(two_factor_authentication_path) ? "list-group-item active" : "list-group-item"
Steffen van Bergerem's avatar
Steffen van Bergerem committed
14 15 16 17
    = link_to t("_services"), services_path,
      class: current_page?(services_path) ? "list-group-item active" : "list-group-item"
    = link_to t("_applications"), api_openid_connect_user_applications_path,
      class: current_page?(api_openid_connect_user_applications_path) ? "list-group-item active" : "list-group-item"