This commit is contained in:
BoHung Chiu 2022-03-19 11:44:25 +08:00
parent 626236014f
commit 444d308f06
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@
<% else %>
<td>NA</td>
<% end %>
<td><%= (@is_answer_list ? sa.created_at : sa.last_modified).strftime((I18n.locale == :zh_tw ? "%Y/%m/%d %H:%M" : "%h %d, %Y - %H:%M")) rescue nil %></td>
<td><%= (answers_nil ? sa.last_modified : sa.created_at).strftime((I18n.locale == :zh_tw ? "%Y/%m/%d %H:%M" : "%h %d, %Y - %H:%M")) rescue nil %></td>
<td>
<% if @answer_repeat && !@is_answer_list %>
<a class="btn btn-primary" href="/admin/surveys/<%= sa.id.to_s %>/answer_list"><%= t("survey.view") %>(<%=sa.survey_answer_ids.count%>)</a>