Sha256: e164a03f19ca6d59eed603ba7f06ff7c6dd08fb3f1f6e265b7378f7dc36d33d9

Contents?: true

Size: 1.37 KB

Versions: 17

Compression:

Stored size: 1.37 KB

Contents

<div class='results'>
  <div class='previous'><%= link_to_remote('previous', :update=>'search_results',
      :url=>{:controller=>'search', :action=>'find', :search=>params[:search], :id=>params[:id], :edit=>params[:edit], :page => @nodes_previouw_page},
      :loading => "$('search_results').innerHTML='';Element.show('search_loader');",
      :complete => "Element.hide('search_loader')") if @nodes_previouw_page %>
  </div>
  <div class='btn_x'><%= link_to_function(_('btn_x'), "$('search_results').innerHTML = '';") %></div>
  <div class='next'><%= link_to_remote('next', :update=>'search_results',
      :url=>search_nodes_path(:q=>params[:q], :page => @nodes_next_page),
      :loading => "$('search_results').innerHTML='';Element.show('search_loader');",
      :complete => "Element.hide('search_loader')") if @nodes_next_page %>
  </div>
  <div class='clear'></div>
<% if @nodes.empty? %>
  <%= _("'%{search_string}' not found") % {:search_string => h(params[:q]) } if params[:q] %>
<% else %>
<ul>
  <% @nodes.each do |node| -%>
  <li class='result_entry'>
    <%= img_tag(node, :mode=>'mini') %>
    <p class='result_name'><%= link_to(node.title, zen_path(node), :popup=>true) %> <em><%= check_lang(node) %></em></p>
    <p class='result_id'><%= node[:zip] %></p>
    <p class='result_path'><%= node.short_path %></p>
    <div class='clear'></div>
  </li>
  <% end %>
</ul>
<% end %>
</div>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
zena-1.2.8 app/views/nodes/_results.rhtml
zena-1.2.7 app/views/nodes/_results.rhtml
zena-1.2.6 app/views/nodes/_results.rhtml
zena-1.2.5 app/views/nodes/_results.rhtml
zena-1.2.4 app/views/nodes/_results.rhtml
zena-1.2.3 app/views/nodes/_results.rhtml
zena-1.2.2 app/views/nodes/_results.rhtml
zena-1.2.1 app/views/nodes/_results.rhtml
zena-1.2.0 app/views/nodes/_results.rhtml
zena-1.1.3 app/views/nodes/_results.rhtml
zena-1.1.2 app/views/nodes/_results.rhtml
zena-1.1.1 app/views/nodes/_results.rhtml
zena-1.1.0 app/views/nodes/_results.rhtml
zena-1.0.0 app/views/nodes/_results.rhtml
zena-1.0.0.rc3 app/views/nodes/_results.rhtml
zena-1.0.0.rc2 app/views/nodes/_results.rhtml
zena-1.0.0.rc1 app/views/nodes/_results.rhtml