Sha256: f1fd31220522e8905b3eddd6cc6890e8c2866cfd04970fa95a9396cd9ecfcc91

Contents?: true

Size: 1.04 KB

Versions: 4

Compression:

Stored size: 1.04 KB

Contents

  <td style="padding:5px; width:50px;"> 
    <%=platform_user_mugshot_tag(rating.user, :linked => true)%>
  </td>
  <td style="padding:5px; width:150px;">
    <%=platform_user_tag(rating.user, :linked => true)%>
    <div style="color:grey;font-size:10px;"><%=rating.created_at.tr(:date_time) %></div>
    <div style="font-size:10px;">
      <% if rating.user == platform_current_user %>  
        <%=link_to(tr("Delete", "Link to delete application review"), {:controller => '/platform/ratings', :action => :delete_app_rating, :rating_id => rating.id}, {:confirm => trl("Are you sure you want to delete this review?")})%>
      <% else %>  
        <%=link_to_function(tr("Report", "Link to report an abusive review"), "tr8nLightbox.show('/tr8n/translator/lb_report?message_id=#{rating.id}', {width:600, height:340});")%>
      <% end %>
    </div>
  </td>
  <td style="padding:5px; width:700px;">
    <%=platform_rating_tag(rating, :width => "12px;") %> - <%=rating.comment ? rating.toHTML : raw("<span style='color:#ccc'>#{tr('no comment')}</span>") %>
  </td>

Version data entries

4 entries across 4 versions & 1 rubygems

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