Sha256: 98650a688c183fb08f973dd39043975dff3a06071e902a7f6bb90c0d86394b0e
Contents?: true
Size: 910 Bytes
Versions: 7
Compression:
Stored size: 910 Bytes
Contents
<% link = @document.direct_link.nil? ? @document.permalink : @document.direct_link %> <h1>OER Recommender - <%= t(:related_resources_title) %></h1> <% if flash[:notice] %><p style="color: green"><%= flash[:notice] %></p><% end %> <%= render(:partial => "search/search_box") %> <p><b><%= link_to @document_title, link %></b> <% if !@document.direct_link.nil? %> - <%= link_to t(:metadata), @document.permalink, :class => "catalog_link" %><% end %></p> <hr class="divider" /> <p><b><%= t(:related_resources_title) %></b> <span style="font-size:85%">(<%= t(:calculated) %> <%= @document.relevance_calculated_at.strftime("%d %b %Y") %>)</span> - <%= link_to t(:details), "?details=true", :class=> "catalog_link" %></p> <div id="results"> <%= render(:partial => "result", :collection => @document.ranked_recommendations(@limit, params[:order] || "mixed", true)) %> </div> </body> </html>
Version data entries
7 entries across 7 versions & 1 rubygems