Sha256: 05dc1ecd52fc466a482347b84b5047c24464753f1ed4fd5c48b825e9cfee35a7

Contents?: true

Size: 621 Bytes

Versions: 2

Compression:

Stored size: 621 Bytes

Contents

-content_for :info_bar do
  .info_bar
    %p
      -if nothing_found? then
        %span{:class=>'pagination'}=link_to_backup_search_engine(h(@query))
        =:nothing_found_for.l
        %strong=h(@query)
        =show_time_needed(@time_needed)
      -else
        %span{:class=>'pagination'}=should_paginate(@matching_documents, @query, @sort)
        =describe_results(@matching_documents, @total_hits, @time_needed, h(@query))
-unless nothing_found?
  %p
    %span{:class=>'sort_by'}=sort_by_date_or_relevance(@query)
= render :partial =>'document', :collection => @matching_documents, :locals => { :query => @query}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
picolena-0.1.7 lib/picolena/templates/app/views/documents/show.html.haml
picolena-0.1.8 lib/picolena/templates/app/views/documents/show.html.haml