Created
August 25, 2009 10:07
-
-
Save pcarrier/174616 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h2> | |
<span class="analyzed icon"> | |
<%= i18n.analyzed.section %> | |
</span> | |
</h2> | |
<div class="inner"> | |
<div class="list"> | |
<% if(@analyzed and @analyzed.length != 0) - %> | |
<table> | |
<thead><tr> | |
<th><%= i18n.report.name %></td> | |
<th><%= i18n.report.in_album %></td> | |
<th><%= i18n.report.creation_date %></td> | |
<th></th> | |
</tr></thead> | |
<tbody> | |
<% for report in @analyzed -%> | |
<tr> | |
<td class="name"><%= report.name %></td> | |
<td class="name"><%= report.album.name %></td> | |
<td><%= show_date(report.created_at) %></td> | |
<td class="actions"> | |
<a href="<%= "/analyses/#{@analysis.id}/reports/remove/#{report.id}" %>" | |
rel="nofollow" | |
title="<%= i18n.report.remove_from_analysis %>"> | |
<img src="/icones/delete-trans.png"/> | |
</a> | |
</td> | |
</tr> | |
<%- end %> | |
</tbody> | |
</table> | |
<%- else -%> | |
<i><%= i18n.analyzed.none %></i> | |
<%- end %> | |
</div> | |
</div> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%h2 | |
%span.analyzed.icon= i18n.analyzed.section | |
.inner | |
.list | |
- if @analyzed and @analyzed.length != 0 | |
%table | |
%thead | |
%tr | |
%th= i18n.report.name | |
%th= i18n.report.in_album | |
%th= i18n.report.creation_date | |
%th | |
%tbody | |
- for report in @analyzed | |
%tr | |
%td.name | |
= report.name | |
%td.name | |
= report.album.name | |
%td | |
= show_date(report.created_at) | |
%td.actions | |
%a{:href => "/analyses/#{@analysis.id}/reports/remove/#{report.id}", | |
:rel => "nofollow", | |
:title => i18n.report.remove_from_analysis} | |
%img(src='/icons/delete-trans.png') | |
- else | |
%i= i18n.analyzed.none |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment