Sha256: 591c77b16384fd8f809250e2c81a7a4f1c2a8dfdc2df6648d857473f19d484c8

Contents?: true

Size: 1.15 KB

Versions: 9

Compression:

Stored size: 1.15 KB

Contents

- if patterns
  %div
    %a.scope_anchor{ id: "patterns" }
    .scope#patterns_container
      = render_partial "scope_header",
        :scope => "patterns",
        :title => "Patterns",
        :count => "#{patterns.length} #{Machinery.pluralize(patterns.length, "pattern")}"
      - if @description.patterns.patterns_system == "dpkg"
        .row
          .col-xs-1
          .col-xs-11
            Note: Tasks on Debian-like systems are treated as patterns.
      .row.scope_content.collapse.in
        .col-xs-1
        .col-xs-11
          %p
            %strong Patterns Manager:
            = @description.patterns.patterns_system
          - if patterns.length == 0
            There are no patterns.
          - if patterns.length > 0
            %table.table.table-striped.table-hover.table-condensed.filterable
              %thead
                %tr
                  %th Name
                  %th.medium Version
                  %th.medium Release
              %tbody
                - patterns.each do |pattern|
                  %tr
                    %td= pattern.name
                    %td= pattern.version
                    %td= pattern.release

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
machinery-tool-1.24.1 html/partials/patterns.html.haml
machinery-tool-1.24.0 html/partials/patterns.html.haml
machinery-tool-1.23.1 html/partials/patterns.html.haml
machinery-tool-1.23.0 html/partials/patterns.html.haml
machinery-tool-1.22.3 html/partials/patterns.html.haml
machinery-tool-1.22.2 html/partials/patterns.html.haml
machinery-tool-1.22.1 html/partials/patterns.html.haml
machinery-tool-1.22.0 html/partials/patterns.html.haml
machinery-tool-1.21.0 html/partials/patterns.html.haml