Sha256: 557965c85350957ba0d76d20b9b14964856b72641e3b4cf0f2adbc258b71a462
Contents?: true
Size: 1.08 KB
Versions: 2
Compression:
Stored size: 1.08 KB
Contents
- content_for :javascripts do = javascript_include_tag "hatchy/home" .row %section .container - unless @categories.empty? .btn-group.btn-group-lg - @categories.each do |cat| = content_tag :a, href:"?category_id=#{cat.id}", class: "btn btn-success" do = cat.name %span.badge= cat.total_projects %hr %section - if !@category_id.blank? .row .pull-right - if current_user -if current_user.categories.where(id: @category_id).any? = link_to "Unfollow", unsubscribe_category_path(@category_id), class: 'btn btn-success' -else = link_to "Follow", subscribe_category_path(@category_id), class: "btn btn-success" -else = link_to "Follow", subscribe_category_path(@category_id), class: "btn btn-success" .row .owl-carousel#owl-projects - @projects.each do |project| .items = render "hatchy/shared/small_project", project: project
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hatchy-0.0.8.pre | app/views/hatchy/home/explore.html.haml |
hatchy-0.0.7.pre | app/views/hatchy/home/explore.html.haml |