Sha256: f2fb1f5959a8c9c704c9c7467d832fce9237aed7a7f8d2c98c41e6083778f0d5

Contents?: true

Size: 1.06 KB

Versions: 4

Compression:

Stored size: 1.06 KB

Contents

  <div class="section_title" style="padding-top:0px;">
    <% if @ratings.any? and params['sec'] != 'Reviews' %>
    <span style="float:right; font-size:12px;">
      <%=link_to("view all", :controller => "/platform/apps", :action => :view, :id => @app.id, :sec => 'Reviews')%>
    </span>
    <% end %>
    
    <%=tr("Reviews")%>
  </div>

  <div class="section">
     <%= render(:partial => "/platform/ratings/new", :locals => {:app => @app} )%>   
     
     <div style="margin-top:10px; border-top: 1px solid #ccc;">
       <% if @ratings.any? %>
          <table>
             <% @ratings.each do |rating| %>
             <tr>
               <%= render(:partial => "/platform/ratings/rating", :locals => {:rating => rating} )%>   
             </tr>  
             <% end %>
          </table>
       <% else %>
         <div style="padding:10px; text-align:center; color: #888;">  
           <%= tr("This application has not been reviewed yet. Be the first one to review this app!") %>
         </div>                       
       <% end %>
     </div>
       
  </div>  

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
platform-3.1.4 app/views/platform/ratings/_list.html.erb
platform-3.1.3 app/views/platform/ratings/_list.html.erb
platform-3.1.2 app/views/platform/ratings/_list.html.erb
platform-3.1.1 app/views/platform/ratings/_list.html.erb