Sha256: d9061e3f6185f6d9c58027ba2c2871161db92e9d579c6118f2b11f987d9b0290

Contents?: true

Size: 1.31 KB

Versions: 12

Compression:

Stored size: 1.31 KB

Contents

<%-
# You generally shoudln't call this partial directly, it's called through
# the render_section helper method in resolve_helper.rb
-%>
<% if presenter.visible? %>
  <% unless presenter.show_partial_only? %>
    <div class="<%= section_css_classes(@user_request, presenter.div_id, []).join(" ") %>">
  <% end %>
  <%= render 'section_heading', :presenter => presenter %>
  <% unless presenter.show_partial_only? %>
    <div class="umlaut_section_content">
  <% end %>
  <% if presenter.custom_partial? %>
    <%= render presenter.content_render_hash %>
  <% elsif presenter.list_visible_limit %>
    <%= list_with_limit("#{presenter.div_id}_list_with_limit", presenter.responses_list,
        :limit => presenter.list_visible_limit, :ul_class => "response_list #{presenter.div_id}") do |item, index|
          render presenter.item_render_hash(item)
        end %>
  <% elsif presenter.responses_list.length == 0 && ! presenter.services_in_progress? %>
    <ul class="response_list">
      <li>None available.</li>
    </ul>
  <% else %>
    <ul class="response_list <%= presenter.div_id %>">
      <%= render presenter.content_render_hash %>
    </ul>
  <% end %>
  <% if presenter.show_spinner? %>
    <%= render presenter.spinner_render_hash %>
  <% end %>
  <% unless presenter.show_partial_only? %>
    </div></div>
  <% end %>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
umlaut-4.0.3 app/views/resolve/_section_display.html.erb
umlaut-4.0.2 app/views/resolve/_section_display.html.erb
umlaut-4.0.1 app/views/resolve/_section_display.html.erb
umlaut-4.0.0 app/views/resolve/_section_display.html.erb
umlaut-4.0.0.beta5 app/views/resolve/_section_display.html.erb
umlaut-4.0.0.beta4 app/views/resolve/_section_display.html.erb
umlaut-4.0.0.beta3 app/views/resolve/_section_display.html.erb
umlaut-4.0.0.beta2 app/views/resolve/_section_display.html.erb
umlaut-4.0.0.beta1 app/views/resolve/_section_display.html.erb
umlaut-3.3.1 app/views/resolve/_section_display.html.erb
umlaut-3.3.0 app/views/resolve/_section_display.html.erb
umlaut-3.2.0 app/views/resolve/_section_display.html.erb