Sha256: f3cc3622ff01d92e92623cc16c3a6e9c457d99a5a215fdc9eac9492763e133b3

Contents?: true

Size: 1.43 KB

Versions: 1

Compression:

Stored size: 1.43 KB

Contents

- content_for :js_templates do
  = render :partial => 'project'

#page_content
  .container
    .main
      .section_header
        .original_title
          h1= t('.title')
          h4= t('.subtitle')

      #explore_results
        .results  
        #loading= image_tag "loading.gif"

    .sidebar
      .content
        - unless @recommended.empty? and @expiring.empty? and @recent.empty? and @successful.empty?
          section.highlights
            h2= t('.quick_explore')
            ul#explore_quick
              - unless @recommended.empty?
                li
                  a href='#recommended'
                    = t('.recommended')
              - unless @expiring.empty?
                li.no_margin
                  a href='#expiring'
                    = t('.expiring')
              - unless @recent.empty?
                li
                  a href='#recent'
                    = t('.recent')
              - unless @successful.empty?
                li.no_margin
                  a href='#successful'
                    = t('.successful')

        - unless @categories.empty?
          section.categories
            h2= t('.categories')
            ul#explore_categories
              - @categories.each_with_index do |category, index|
                li class="#{(index%2==1 ? 'no_margin':'')}"
                  a href="##{category.name.parameterize}" data-id=category.id
                    = category.name

    .clearfix

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
catarse_core-1.0.0.beta app/views/catarse/explore/index.html.slim