diff --git a/app/views/statistics/show.html.erb b/app/views/statistics/show.html.erb index fa8f22e06..57682d23b 100644 --- a/app/views/statistics/show.html.erb +++ b/app/views/statistics/show.html.erb @@ -5,30 +5,33 @@

<%= notice %>

- + <%= @statistic.name %>
- +
- + <%= format_time @statistic.created_at %>
- + <%= @statistic.user_id %>
- + <%= @statistic.status %>
<%# 附件局部刷新 %> <% if @attachments.present? %> +
+ <%= render :partial => 'attachments',:locals => {:attachments => @attachments} %> +
<% end %>
diff --git a/public/stylesheets/css/common.css b/public/stylesheets/css/common.css index 4af8723b9..ccab1d9ee 100644 --- a/public/stylesheets/css/common.css +++ b/public/stylesheets/css/common.css @@ -255,7 +255,7 @@ a.bGreen {background-color:#60b25e;} a.bGreen:hover {background-color:#51a74f;} a.submit_btn {border:1px solid #3498db; padding:3px 10px; border-radius:3px; color:#3498db;} a.submit_btn:hover {background-color:#3498db; color:#ffffff;} -a.link_file_a{ background:url(/images/pic_file.png) 0 2px no-repeat; padding-left:20px; } +a.link_file_a{ background:url(/images/pic_file.png) 0 5px no-repeat; padding-left:20px; } a:hover.link_file_a{ background:url(/images/pic_file.png) 0 -25px no-repeat; color:#3ca5c6;} a.link_file_a2{ background:url(/images/pic_file.png) 0 -15px no-repeat; padding-left: 20px;} a.submit_btn2 {background-color: #3b94d6; padding: 3px 5px; color: #ffffff;}