From 1a24e8856a701fc58998befa6eb123765835c5a5 Mon Sep 17 00:00:00 2001 From: hassaku Date: Mon, 29 Sep 2014 00:33:12 +0900 Subject: [PATCH] Hide install button while processing. --- app/views/plugins/recommended.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/plugins/recommended.html.haml b/app/views/plugins/recommended.html.haml index bce850f..960f2ac 100644 --- a/app/views/plugins/recommended.html.haml +++ b/app/views/plugins/recommended.html.haml @@ -12,7 +12,7 @@ - @plugins.each do |plugin| %tr %td - - unless plugin.installed? + - unless plugin.installed? || plugin.processing? = link_to t("terms.install"), install_plugins_path, class: "js-install btn btn-primary", data: { url: install_plugins_path, name: plugin.gem_name} %td %label{for: "plugin_#{plugin.gem_name}"}