Sha256: 48079d1367aec1a9b32bb0db9dbd57115bd88e24ec282a8b35f34b9ef2b2bae8

Contents?: true

Size: 1.12 KB

Versions: 2

Compression:

Stored size: 1.12 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 Type
                %th URL
                %th Enabled
                %th Autorefresh
                %th GPG Check
                %th 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

2 entries across 2 versions & 1 rubygems

Version Path
machinery-tool-1.14.2 html/partials/repositories.html.haml
machinery-tool-1.14.1 html/partials/repositories.html.haml