Sha256: 66849b6f5afb21e808bcf3b6467477097667b8d1ad8c8c5a4f1ffd99f4765674

Contents?: true

Size: 632 Bytes

Versions: 2

Compression:

Stored size: 632 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_by)
        =describe_results(@matching_documents, @total_hits, @time_needed, h(@query))
-unless nothing_found?
  %p
    %span{:class=>'sort_by'}=sort_by_date_or_relevance(@query, params)
= render :partial =>'document', :collection => @matching_documents, :locals => { :query => @query}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
picolena-0.2.0 lib/picolena/templates/app/views/documents/show.html.haml
picolena-0.2.2 lib/picolena/templates/app/views/documents/show.html.haml