27 lines
902 B
Plaintext
27 lines
902 B
Plaintext
<%= render SidenavLinkComponent.new(
|
|
name: "Profile", path: setting_path(:profile), icon: "user",
|
|
active: @settings_section.to_s == "profile"
|
|
) %>
|
|
<%= render SidenavLinkComponent.new(
|
|
name: "Account", path: setting_path(:account), icon: "key",
|
|
active: @settings_section.to_s == "account"
|
|
) %>
|
|
<% if Setting.ejabberd_enabled %>
|
|
<%= render SidenavLinkComponent.new(
|
|
name: "Chat", path: setting_path(:xmpp), icon: "message-circle",
|
|
active: @settings_section.to_s == "xmpp"
|
|
) %>
|
|
<% end %>
|
|
<% if Setting.lndhub_enabled %>
|
|
<%= render SidenavLinkComponent.new(
|
|
name: "Lightning", path: setting_path(:lightning), icon: "zap",
|
|
active: @settings_section.to_s == "lightning"
|
|
) %>
|
|
<% end %>
|
|
<% if Setting.nostr_enabled %>
|
|
<%= render SidenavLinkComponent.new(
|
|
name: "Experiments", path: setting_path(:experiments), icon: "science",
|
|
active: @settings_section.to_s == "experiments"
|
|
) %>
|
|
<% end %>
|