Sha256: 1bf4b6e6ed21b4174358844bbe45fd0d4e4aaf4568a2e2a1d38c5b540808e1bf

Contents?: true

Size: 1.15 KB

Versions: 3

Compression:

Stored size: 1.15 KB

Contents

- if repositories
  %div
    %a.scope_anchor{ id: "repositories" }
    .scope#repositories_container
      - count = repositories.length
      = render_partial "scope_header",
        :scope => "repositories",
        :title => "Repositories",
        :count => "#{count} #{Machinery.pluralize(count, "repository", "repositories")}"
      .row.scope_content.collapse.in
        .col-xs-1
        .col-xs-11
          %table.table.table-striped.table-hover.table-condensed.filterable
            %thead
              %tr
                %th Name
                %th Alias
                %th.small Type
                %th URL
                %th.small Enabled
                %th.small Autorefresh
                %th.small GPG Check
                %th.small Priority
            %tbody
              - repositories.each do |repo|
                %tr
                  %td= repo.name
                  %td= repo.alias
                  %td= repo.type
                  %td
                    %a{ href: repo.url }= repo.url
                  %td= repo.enabled
                  %td= repo.autorefresh
                  %td= repo.gpgcheck
                  %td= repo.priority

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
machinery-tool-1.16.1 html/partials/repositories.html.haml
machinery-tool-1.16.0 html/partials/repositories.html.haml
machinery-tool-1.15.0 html/partials/repositories.html.haml