added table as default view

This commit is contained in:
Bomrah Harry 2023-10-08 00:41:45 +08:00
parent d110b8e129
commit fc52e6001d
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@
</td> </td>
<td><%= SeminarMain.time_range(seminar.seminar_start_date, seminar.seminar_end_date) %></td> <td><%= SeminarMain.time_range(seminar.seminar_start_date, seminar.seminar_end_date) %></td>
<td><%= SeminarMain.time_range(seminar.signup_start_date, seminar.signup_end_date) %></td> <td><%= SeminarMain.time_range(seminar.signup_start_date, seminar.signup_end_date) %></td>
<td><a href="/admin/seminars/<%=seminar.id.to_s%>/seminar_signup"> <td><a href="/admin/seminars/<%=seminar.id.to_s%>/seminar_signup?type=table">
<% @seminar_review = seminar.seminar_reviews.where(:reviewer_id => current_user.member_profile_id.to_s).first %> <% @seminar_review = seminar.seminar_reviews.where(:reviewer_id => current_user.member_profile_id.to_s).first %>
<% if @seminar_review.present? && !@can_edit %> <% if @seminar_review.present? && !@can_edit %>
<%= @seminar_review.get_all_seminar_signup_ids.count %> <%= @seminar_review.get_all_seminar_signup_ids.count %>