Sha256: f30e8eb66423928f89e202b0f0a6566affbb53a727080f44c33b03e3d6575f49

Contents?: true

Size: 715 Bytes

Versions: 4

Compression:

Stored size: 715 Bytes

Contents

- if @projects.empty?
  .blank_slate
    %p None yet, huh?
    %h1
      Why don't you
      = succeed "?" do
        %a{ :href => root_path("/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
            %img.floating_gravatar{ gravatar_attrs(project.last_commit.author, 20) }
            = project.human_readable_status
  %p#new
    %a{ :href => root_path("/new") } Add a new project

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alphasights-integrity-0.1.9.5 views/home.haml
alphasights-integrity-0.1.9.6 views/home.haml
alphasights-integrity-0.1.9.7 views/home.haml
alphasights-integrity-0.1.9.8 views/home.haml