diff --git a/app/views/dashboard/index.html.erb b/app/views/dashboard/index.html.erb index 5f2e8a6..1bd8c27 100644 --- a/app/views/dashboard/index.html.erb +++ b/app/views/dashboard/index.html.erb @@ -41,15 +41,16 @@ <% end %> <% end %> - <% if Setting.discourse_enabled? %> + <% if Setting.remotestorage_enabled? && + Flipper.enabled?(:remotestorage, current_user) %>
- <%= link_to "#{Setting.discourse_public_url}/session/sso?return_path=/", + bg-[length:80%] bg-[center_top_-156px] bg-no-repeat + bg-[url(/img/logos/icon_remotestorage.svg)]"> + <%= link_to services_storage_path, class: "block h-full px-6 py-6 rounded-md" do %> -

Discourse

+

Storage

- Community forums and support/help site + Sync your data between apps and devices

<% end %>
@@ -67,16 +68,15 @@ <% end %> <% end %> - <% if Setting.remotestorage_enabled? && - Flipper.enabled?(:remotestorage, current_user) %> + <% if Setting.discourse_enabled? %>
- <%= link_to services_storage_path, + bg-[length:80%] bg-center bg-no-repeat + bg-[url(/img/logos/icon_discourse.svg)]"> + <%= link_to "#{Setting.discourse_public_url}/session/sso?return_path=/", class: "block h-full px-6 py-6 rounded-md" do %> -

Storage

+

Discourse

- Sync your data between apps and devices + Community forums and support/help site

<% end %>