From e157c17e0e512c7dba42fa6f499dccde81ac06a2 Mon Sep 17 00:00:00 2001 From: cryptogopher Date: Fri, 22 Nov 2024 15:03:33 +0100 Subject: [PATCH] Hide 'Import all' button until implemented --- app/views/default/units/index.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/default/units/index.html.erb b/app/views/default/units/index.html.erb index e25331d..0d5c3d8 100644 --- a/app/views/default/units/index.html.erb +++ b/app/views/default/units/index.html.erb @@ -1,6 +1,7 @@
<% if current_user.at_least(:active) %> - <%= image_link_to t('.import_all'), 'download-multiple-outline', + <%# TODO: implement Import all %> + <%#= image_link_to t('.import_all'), 'download-multiple-outline', import_all_default_units_path, data: {turbo_stream: true} %> <% end %> <%= image_link_to t('.back'), 'arrow-left-bold-outline', units_path, class: 'tools' %>