|
|
|
@ -31,14 +31,14 @@
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="tree-author c_grey">
|
|
|
|
|
<div class="hidden" title="<%= (latest_changes.author) if latest_changes %>">
|
|
|
|
|
<div class="hidden" title="<%= (latest_changes.author_name) if latest_changes %>">
|
|
|
|
|
<%= (latest_changes.author_name) if latest_changes %>
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="tree-age c_grey">
|
|
|
|
|
<div class="hidden" title="<%= format_time(latest_changes.created_at) if latest_changes %>">
|
|
|
|
|
<div class="hidden" title="<%= format_time(latest_changes.time) if latest_changes %>">
|
|
|
|
|
<%# 为了转换UTC时间,时差8小时 %>
|
|
|
|
|
<%= distance_of_time_in_words(latest_changes.created_at, Time.now + 8.hours) if latest_changes %>
|
|
|
|
|
<%= distance_of_time_in_words(latest_changes.time, Time.now) if latest_changes %>
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
|
</div>
|
|
|
|
|