Sha256: eaf08db7f503bf68348a1de7b65046000d92e399e672598947ae19e124a85fc4
Contents?: true
Size: 1.51 KB
Versions: 11
Compression:
Stored size: 1.51 KB
Contents
section.content-header - unless flash.nil? - flash.each do |type, message| / Skip unknown flash types. - next unless Hicube::ApplicationController::FLASH_TYPES.include?(type.to_sym) - if type.to_s.downcase == 'success' .alert.alert-success.alert-dismissable.fade.in button.close data-dismiss="alert" aria-hidden="true" ' × | #{message.join(', ') rescue message} - elsif type.to_s.downcase == 'notice' .alert.alert-info.alert-dismissable.fade.in button.close data-dismiss="alert" aria-hidden="true" ' × | #{message.join(', ') rescue message} - elsif type.to_s.downcase == 'alert' .alert.alert-danger.alert-dismissable.fade.in button.close data-dismiss="alert" aria-hidden="true" ' × | #{message.join(', ') rescue message} - elsif type.to_s.downcase == 'error' .alert.alert-danger.alert-dismissable.fade.in button.close data-dismiss="alert" aria-hidden="true" ' × | #{message.join(', ') rescue message} - elsif type.to_s.downcase == 'warning' .alert.alert-warning.alert-dismissable.fade.in button.close data-dismiss="alert" aria-hidden="true" ' × | #{message.join(', ') rescue message} - else .alert.alert-info.alert-dismissable.fade.in button.close data-dismiss="alert" aria-hidden="true" × | #{message.join(', ') rescue message}
Version data entries
11 entries across 11 versions & 1 rubygems