Sha256: f8682c61dbc75694d0888aa20b91b320325666b08c2228e1161cf0b882f9931f

Contents?: true

Size: 608 Bytes

Versions: 9

Compression:

Stored size: 608 Bytes

Contents

- if @projects.empty?
  .blank_slate
    %p None yet, huh?
    %h1
      Why don't you
      = succeed "?" do
        %a{ :href => "/new" } create your first project
- else
  %ul#projects
    - @projects.each do |project|
      %li{ :class => cycle("even", "odd") + ' ' + project.status.to_s }
        %a{ :href => project_path(project) }&= project.name
        .meta
          - if project.building?
            Building!
          - elsif project.last_commit.nil?
            Never built yet
          - else
            = project.human_readable_status
  %p#new
    %a{ :href => "/new" } Add a new project

Version data entries

9 entries across 9 versions & 4 rubygems

Version Path
foca-integrity-0.1.9.0 views/home.haml
foca-integrity-0.1.9.1 views/home.haml
oliyoung-integrity-0.1.9.0 views/home.haml
sr-integrity-0.1.8.1 views/home.haml
sr-integrity-0.1.9.1 views/home.haml
sr-integrity-0.1.9.2 views/home.haml
integrity-0.1.9.1 views/home.haml
integrity-0.1.9.0 views/home.haml
integrity-0.1.9 views/home.haml