Correct styling for unavailable macros

pull/2292/head
Hagen Schink 10 years ago
parent 7b9d299821
commit bd585be603
  1. 2
      lib/redmine/wiki_formatting.rb

@ -105,7 +105,7 @@ module Redmine
rescue => e
"<div class=\"flash error\">#{::I18n.t(:macro_execution_error, macro_name: macro)} (#{e})</div>"
rescue NotImplementedError
"<div class=\"macro-unavailable\">#{::I18n.t(:macro_unavailable, macro_name: macro)}</div>"
"<div class=\"flash error macro-unavailable\">#{::I18n.t(:macro_unavailable, macro_name: macro)}</div>"
end || all
else
all

Loading…
Cancel
Save