fix indendation in dcav-index.erb

This commit is contained in:
Christoffer Müller Madsen 2017-05-09 12:11:38 +02:00
parent ab55e98974
commit 9df423a720

View File

@ -16,19 +16,19 @@
<th>Count</th> <th>Count</th>
<th>Size</th> <th>Size</th>
</tr> </tr>
<% count = 0 <% order = 0
users.sort.each do |user| users.sort.each do |user|
count += 1 order += 1
%> %>
<%= %Q{ <%= %Q{
<tr> <tr>
<td>#{count}</td> <td>#{order}</td>
<td>#{user.name}</td> <td>#{user.name}</td>
<td class=\"right-align\">#{user.count}</td> <td class=\"right-align\">#{user.count}</td>
<td class=\"right-align\">#{Filesize.from(user.size.to_s + "B").pretty}</td> <td class=\"right-align\">#{Filesize.from(user.size.to_s + "B").pretty}</td>
</tr>} </tr>}
%> %>
<% end %> <% end %>
</table> </table>
<h2>Charts</h2> <h2>Charts</h2>
<img src=<%="#{RES_BASE}img/screenshot_count.svg"%> /> <img src=<%="#{RES_BASE}img/screenshot_count.svg"%> />