lib/rest-ftp-daemon/helpers.rb in rest-ftp-daemon-0.250.0 vs lib/rest-ftp-daemon/helpers.rb in rest-ftp-daemon-0.250.3

- old
+ new

@@ -76,14 +76,14 @@ end def self.job_method_label method return if method.nil? klass = case method - when :file + when JOB_METHOD_FILE "label-primary" - when :ftp + when JOB_METHOD_FTP "label-warning" - when :ftps, :ftpes + when JOB_METHOD_FTPS "label-success" else "label-default" end "<div class=\"transfer-method label #{klass}\">#{method.upcase}</div>"