diff --git a/app/views/attachments/_activity_attach.html.erb b/app/views/attachments/_activity_attach.html.erb index 966e1d673..8752b8404 100644 --- a/app/views/attachments/_activity_attach.html.erb +++ b/app/views/attachments/_activity_attach.html.erb @@ -1,10 +1,10 @@ <% if activity.attachments.any? %> <% activity.attachments.each do |attachment| %> -
  • +
  • <%= link_to_short_attachment attachment,:length=> 58, :class => 'link-color-grey', :download => true %> - ( + ( <%= number_to_human_size attachment.filesize %>) <% user_name = attachment.author.show_name.empty? ? attachment.author : attachment.author.show_name %> diff --git a/app/views/student_work/_work_attachments_status.html.erb b/app/views/student_work/_work_attachments_status.html.erb index ff5fec14c..6587588c6 100644 --- a/app/views/student_work/_work_attachments_status.html.erb +++ b/app/views/student_work/_work_attachments_status.html.erb @@ -1,11 +1,11 @@ <% attachments.each_with_index do |attachment,i| %> -
  • +
  • - <%= link_to_short_attachment attachment,:length=> 58, :download => true -%> - (<%= number_to_human_size attachment.filesize %>) - <%= link_to attachment.author.try(:show_name), user_path(attachment.author) %> - <%= format_time(attachment.created_on) %> + <%= link_to_short_attachment attachment,:length=> 58, :download => true -%> + (<%= number_to_human_size attachment.filesize %>) + <%= link_to attachment.author.try(:show_name), user_path(attachment.author) % > + <%= format_time(attachment.created_on) %>
  • <% end -%> diff --git a/app/views/student_work/index.html.erb b/app/views/student_work/index.html.erb index bbdcd6da2..e878b3b21 100644 --- a/app/views/student_work/index.html.erb +++ b/app/views/student_work/index.html.erb @@ -52,7 +52,7 @@
    -
    +
    <% if @is_teacher%>