From 6d4e8ea544ec7ffa6878d254b8276f5bba737d20 Mon Sep 17 00:00:00 2001 From: Jared Turner Date: Mon, 8 Jun 2020 15:24:51 +0100 Subject: [PATCH] Show config path for empty libraries and link to Admin for manual re-scan --- src/views/home.ecr | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/home.ecr b/src/views/home.ecr index 018e8aa..be840d7 100644 --- a/src/views/home.ecr +++ b/src/views/home.ecr @@ -8,9 +8,10 @@
Current library path
<%= @context.config.library_path %>
Want to change your library path?
-
Update config.yml located at: /can/I/access/config_path/from/view?
+
Update config.yml located at: <%= @context.config.path %>
Can't see your files yet?
-
You must wait <%= @context.config.scan_interval %> minutes for the library scan to complete, or restart Mango.
+
You must wait <%= @context.config.scan_interval %> minutes for the library scan to complete + <% if is_admin %>, or manually re-scan from Admin<% end %>.