Sha256: b53121aafad7a6f93e86ea57016e308494c3e9a415767f8d502df0db57393753

Contents?: true

Size: 1.28 KB

Versions: 3

Compression:

Stored size: 1.28 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
          - if count == 0
            There are no repositories.
          - if count > 0
            %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.4 html/partials/repositories.html.haml
machinery-tool-1.16.3 html/partials/repositories.html.haml
machinery-tool-1.16.2 html/partials/repositories.html.haml