留言区时间显示问题
This commit is contained in:
parent
1ec82a923e
commit
385009b688
|
@ -1,7 +1,7 @@
|
||||||
<div class="attachments" style="font-weight:normal;">
|
<div class="attachments" style="font-weight:normal;">
|
||||||
<% for attachment in attachments %>
|
<% for attachment in attachments %>
|
||||||
<p style="width: 100%;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">
|
<p style="width: 100%;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;">
|
||||||
<span title="<%= attachment.filename%>" id = "attachment_"">
|
<span title="<%= attachment.filename%>" id = "attachment_">
|
||||||
<% if options[:length] %>
|
<% if options[:length] %>
|
||||||
<%= link_to_short_attachment attachment, :class => 'icon icon-attachment', :download => true,:length => options[:length] -%>
|
<%= link_to_short_attachment attachment, :class => 'icon icon-attachment', :download => true,:length => options[:length] -%>
|
||||||
<% else %>
|
<% else %>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
<div class="ping_discon" style="width: 85%;">
|
<div class="ping_discon" style="width: 85%;">
|
||||||
<div class="ping_distop">
|
<div class="ping_distop">
|
||||||
<!-- <a style=" font-weight:bold; color:#15bccf; margin-right:30px; background:none;" target="_blank" href="#">gugu01</a> -->
|
<!-- <a style=" font-weight:bold; color:#15bccf; margin-right:30px; background:none;" target="_blank" href="#">gugu01</a> -->
|
||||||
<span><%= link_to journal.user, user_path(journal.user),:style => " font-weight:bold; color:#15bccf; margin-right:30px; background:none;", :target => "_blank"%></span><span style="color:#a6a6a6; margin-right:40px; margin-left:30px;"><%= journal.created_on %></span>
|
<span><%= link_to journal.user, user_path(journal.user),:style => " font-weight:bold; color:#15bccf; margin-right:30px; background:none;", :target => "_blank"%></span><span style="color:#a6a6a6; margin-right:40px; margin-left:30px;"><%= format_time(journal.created_on) %></span>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
<p><%= textilizable journal.notes%></p>
|
<p><%= textilizable journal.notes%></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue