Sha256: d9640eb700502f359bd6de2ebfcc1312e91ebdd360bfa65683d4d54a26bf95fa

Contents?: true

Size: 394 Bytes

Versions: 29

Compression:

Stored size: 394 Bytes

Contents

format :html do
  view :core do
    # Rule cards that are searches are usual right structures and refer to the left
    # in the search query. In that case the search doesn't work
    # properly in the context of the rule card itself.  Hence we show the query syntax
    # and not the search result.
    if card.type_id == SearchTypeID
      render_raw
    else
      super()
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
card-mod-rules-0.18.1 set/rule/html_views.rb
card-mod-rules-0.18.0 set/rule/html_views.rb
card-mod-rules-0.17.0 set/rule/html_views.rb
card-mod-rules-0.16.0 set/rule/html_views.rb
card-mod-rules-0.15.6 set/rule/html_views.rb
card-mod-rules-0.15.5 set/rule/html_views.rb
card-mod-rules-0.15.4 set/rule/html_views.rb
card-mod-rules-0.15.3 set/rule/html_views.rb
card-mod-rules-0.15.2.pre1 set/rule/html_views.rb
card-mod-rules-0.15.1.1 set/rule/html_views.rb
card-mod-rules-0.15.1 set/rule/html_views.rb
card-mod-rules-0.15.0 set/rule/html_views.rb
card-mod-rules-0.14.2 set/rule/html_views.rb
card-mod-rules-0.14.1 set/rule/html_views.rb
card-mod-rules-0.14.0 set/rule/html_views.rb
card-mod-rules-0.13.4 set/rule/html_views.rb
card-mod-rules-0.13.3 set/rule/html_views.rb
card-mod-rules-0.13.2 set/rule/html_views.rb
card-mod-rules-0.13.1 set/rule/html_views.rb
card-mod-rules-0.13.0 set/rule/html_views.rb