This commit is contained in:
caishi 2018-02-09 10:56:40 +08:00
parent a54226a5e7
commit a029f36808
3 changed files with 9 additions and 8 deletions

View File

@ -19,9 +19,9 @@
</div>
<div class="data_info mt7 c_grey">
<span><%= statistic.creator.show_name %></span>
<span><%= format_time statistic.created_at %></span>
<span><%= statistic.main_category.name %></span>
<span><%= statistic.sub_category.try(:name) %></span>
<span><%= format_time statistic.created_at %></span>
</div>
</div>
</div>

View File

@ -4,9 +4,10 @@
<div class="data_showdetail">
<!--<p id="notice"><%#= notice %></p>-->
<div class="detail_part">
<div class="detail_part mt15">
<label>数据类别名称:</label>
<%= @statistic.name %>
<%= link_to '编辑', edit_statistic_path(@statistic) ,:class => "submit_btn fr mr45" %>
</div>
<div class="cl detail_part">
@ -17,14 +18,14 @@
<label>添加时间:</label>
<%= format_time @statistic.created_at %>
</div>
<div class="detail_part">
<!--<div class="detail_part">
<label>用户id</label>
<%= @statistic.user_id %>
<%#= @statistic.user_id %>
</div>
<div class="detail_part">
<label>状态:</label>
<%= @statistic.status %>
</div>
<%#= @statistic.status %>
</div>-->
<%# 附件局部刷新 %>
<% if @attachments.present? %>
@ -37,7 +38,7 @@
<% end %>
<div class="detail_part">
<label>&nbsp;</label>
<%= link_to '编辑', edit_statistic_path(@statistic) ,:class => "submit_btn" %>
<%= link_to '返回', statistics_path ,:class=>"grey_btn" %>
</div>
</div>

View File

@ -985,7 +985,7 @@ a.syllabusbox_a_blue{ color:#3b94d6;}
.list_tag{border: 1px solid #F8DF8C;background: #FFFCE6;color: #3BA6DD;margin-right:10px;padding: 2px 4px;border-radius: 3px}
.attachment_file{color: #FF8D00!important;}
.data_info span{font-size: 14px;width: 17%;text-align: left;display: inline-block}
.data_info span:nth-child(2){width:26% }
.data_info span:nth-child(2){width:15% }
span.down{display: block;position: absolute;top: 13px;right: 4px;width: 12px;height: 10px;background: url(/images/user/icons_user_leftnav.png) -3px -347px no-repeat;}
.submit_btn{padding-bottom: 5px;