Sha256: 41b4431fe672c95a3d94e485db610501b8ec4e9275b1c0312b5b9f1227f8db8f

Contents?: true

Size: 816 Bytes

Versions: 1

Compression:

Stored size: 816 Bytes

Contents

.scope-summary
  - if @diff[scope].only_in1 && @diff[scope].only_in1.length > 0
    %span.summary-part
      #{@description_a.name}: #{pluralize_scope(@diff[scope].only_in1, singular, plural)}
  - if @diff[scope].only_in2 && @diff[scope].only_in2.length > 0
    %span.summary-part
      #{@description_b.name}: #{pluralize_scope(@diff[scope].only_in2, singular, plural)}
  - if @diff[scope].changed && @diff[scope].changed.length > 0
    %span.summary-part
      %a{ href: "#" + scope + "_changed" }
        changed
      = ": #{pluralize_scope(@diff[scope].changed, singular, plural)}"
  - if @diff[scope].common && @diff[scope].common.length > 0
    %span.summary-part
      %a.show-common-elements{ href: "#" + scope + "_both" }<
        both
      = ": #{pluralize_scope(@diff[scope].common, singular, plural)}"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
machinery-tool-1.15.0 html/partials/compare/summary.html.haml