Add new user settings pages for Chat and Wallet

This commit is contained in:
Râu Cao
2023-04-04 12:28:32 +02:00
parent 23821f9e65
commit f19baaf22a
5 changed files with 71 additions and 4 deletions

View File

@@ -6,7 +6,15 @@
name: "Account", path: setting_path(:account), icon: "key",
active: current_page?(setting_path(:account))
) %>
<% if Setting.ejabberd_enabled %>
<%= render SidenavLinkComponent.new(
name: "Notifications", path: setting_path(:notifications), icon: "bell",
active: current_page?(setting_path(:notifications))
name: "Chat", path: setting_path(:xmpp), icon: "message-circle",
active: current_page?(setting_path(:xmpp))
) %>
<% end %>
<% if Setting.lndhub_enabled %>
<%= render SidenavLinkComponent.new(
name: "Wallet", path: setting_path(:lightning), icon: "zap",
active: current_page?(setting_path(:lightning))
) %>
<% end %>