Sha256: 3ca91a664894f6b382df50ad442350ee127d8deb90b5f75a7c92b5bc189dea3b
Contents?: true
Size: 713 Bytes
Versions: 2
Compression:
Stored size: 713 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 %img.floating_gravatar{ gravatar_attrs(project.last_commit.author, 20) } - if project.building? Building! - elsif project.last_commit.nil? Never built yet - else = project.human_readable_status %p#new %a{ :href => root_path("/new") } Add a new project
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
alphasights-integrity-0.1.9.3 | views/home.haml |
alphasights-integrity-0.1.9.4 | views/home.haml |