html/partials/changed_config_files.html.haml in machinery-tool-1.21.0 vs html/partials/changed_config_files.html.haml in machinery-tool-1.22.0
- old
+ new
@@ -40,10 +40,10 @@
%tbody
- changed_config_files.each do |file|
%tr
%td
%span
- - if file.on_disk?
+ - if file.on_disk && !@static_html
%a.file-download{ href: "#" }
= file.name
- else
%span
= file.name