mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-17 11:47:04 +02:00
Don't fetch latest version number on recommended plugins to reduce response time
This commit is contained in:
parent
76fc011222
commit
e01ae26251
@ -8,7 +8,6 @@
|
||||
%th= t('.name')
|
||||
%th= t('.status')
|
||||
%th{width: "100"}= t('.installed_version')
|
||||
%th{width: "100"}= t('.latest_version')
|
||||
%tbody
|
||||
- @plugins.each do |plugin|
|
||||
%tr
|
||||
@ -20,15 +19,10 @@
|
||||
= plugin.gem_name
|
||||
%td
|
||||
- if plugin.installed?
|
||||
- if plugin.latest_version?
|
||||
= t(".installed")
|
||||
- else
|
||||
= t(".new_version", version: plugin.latest_version)
|
||||
= t(".installed")
|
||||
- else
|
||||
= t(".not_installed")
|
||||
%td
|
||||
= plugin.installed_version
|
||||
%td
|
||||
= plugin.latest_version
|
||||
= submit_tag t(".install"), class: "btn btn-primary"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user