change translations
This commit is contained in:
parent
c6bf882171
commit
b015f4d3f7
|
@ -370,7 +370,7 @@ class Admin::ApplicationFormsController < OrbitAdminController
|
||||||
def index
|
def index
|
||||||
@categories = @module_app.categories.enabled
|
@categories = @module_app.categories.enabled
|
||||||
@filter_fields = filter_fields(@categories)
|
@filter_fields = filter_fields(@categories)
|
||||||
@table_fields = [:category, 'application_form.title', 'application_form.event_during', 'application_form.signup_during', 'application_form.signup_count', 'application_form.export']
|
@table_fields = [:category, 'application_form.title', 'application_form.event_during', 'application_form.signup_count', 'application_form.export']
|
||||||
|
|
||||||
if !params[:sort].blank?
|
if !params[:sort].blank?
|
||||||
if params[:sort] == 'event_during'
|
if params[:sort] == 'event_during'
|
||||||
|
|
|
@ -25,21 +25,13 @@
|
||||||
<% if admin_for_application_form(application_form) %>
|
<% if admin_for_application_form(application_form) %>
|
||||||
<li><a href="/admin/application_forms/<%=application_form.id.to_s%>/edit"><%= t(:edit) %></a></li>
|
<li><a href="/admin/application_forms/<%=application_form.id.to_s%>/edit"><%= t(:edit) %></a></li>
|
||||||
<li><a href="/admin/application_forms/<%=application_form.id.to_s%>/copy"><%= t("application_form.copy") %></a></li>
|
<li><a href="/admin/application_forms/<%=application_form.id.to_s%>/copy"><%= t("application_form.copy") %></a></li>
|
||||||
<li><a href="<%= admin_application_form_item_contents_path(:application_form_main_id=>application_form.id.to_s) %>"><%= t('application_form.set_application_form_item_content') %></a></li>
|
|
||||||
<li><a href="/admin/application_forms/<%=application_form.id.to_s%>/application_form_signup_field"><%= t('application_form.set_application_form_signup_field') %></a></li>
|
|
||||||
<li><a href="/admin/application_forms/<%=application_form.id.to_s%>/application_form_submission_field"><%= t('application_form.set_application_form_submission_field') %></a></li>
|
|
||||||
<li><a href="<%=reviewer_setting_admin_application_form_path(application_form.id)%>"><%= t('application_form.reviewer_setting') %></a></li>
|
<li><a href="<%=reviewer_setting_admin_application_form_path(application_form.id)%>"><%= t('application_form.reviewer_setting') %></a></li>
|
||||||
<li><a href="<%=template_setting_admin_application_form_path(application_form.id)%>"><%= t('application_form.template_setting') %></a></li>
|
|
||||||
<li><a href="<%=sub_page_setting_admin_application_form_path(application_form.id)%>"><%= t('application_form.sub_page_setting') %></a></li>
|
|
||||||
<li><a href="<%=admin_custom_announcements_path + "/application_form-#{application_form.uid}"%>"><%= t('application_form.announcement_manage') %>(<%=application_form.annc_count%>)</a></li>
|
|
||||||
<li><a href="<%=admin_custom_galleries_path + "/application_form-#{application_form.uid}"%>"><%= t('application_form.album_manage') %>(<%=application_form.album_count%>)</a></li>
|
|
||||||
<li><a href="#" class="delete text-error" rel="/admin/application_forms/<%=application_form.id.to_s%>"><%= t(:delete_) %></a></li>
|
<li><a href="#" class="delete text-error" rel="/admin/application_forms/<%=application_form.id.to_s%>"><%= t(:delete_) %></a></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td><%= ApplicationFormMain.time_range(application_form.application_form_start_date, application_form.application_form_end_date) %></td>
|
<td><%= ApplicationFormMain.time_range(application_form.application_form_start_date, application_form.application_form_end_date) %></td>
|
||||||
<td><%= ApplicationFormMain.time_range(application_form.signup_start_date, application_form.signup_end_date) %></td>
|
|
||||||
<td><a href="/admin/application_forms/<%=application_form.id.to_s%>/application_form_signup">
|
<td><a href="/admin/application_forms/<%=application_form.id.to_s%>/application_form_signup">
|
||||||
<% @application_form_review = application_form.application_form_reviews.where(:reviewer_id => current_user.member_profile_id.to_s).first %>
|
<% @application_form_review = application_form.application_form_reviews.where(:reviewer_id => current_user.member_profile_id.to_s).first %>
|
||||||
<% if @application_form_review.present? && !@can_edit %>
|
<% if @application_form_review.present? && !@can_edit %>
|
||||||
|
|
|
@ -124,7 +124,7 @@ en:
|
||||||
yes_: Yes #是
|
yes_: Yes #是
|
||||||
no_: No #否
|
no_: No #否
|
||||||
application_form: Application Forms #線上申請表單
|
application_form: Application Forms #線上申請表單
|
||||||
title: Conference Name #線上申請表單名稱
|
title: Form Title
|
||||||
speaker: Speaker #主講者
|
speaker: Speaker #主講者
|
||||||
content: Content #內容說明
|
content: Content #內容說明
|
||||||
act_place: Application Forms Location #活動地點
|
act_place: Application Forms Location #活動地點
|
||||||
|
@ -137,10 +137,10 @@ en:
|
||||||
signup_end_date: Sign Up End Date #報名結束時間
|
signup_end_date: Sign Up End Date #報名結束時間
|
||||||
contribute_start_date: Contribute Start Date #投稿開始時間
|
contribute_start_date: Contribute Start Date #投稿開始時間
|
||||||
contribute_end_date: Contirbute End Date #投稿結束時間
|
contribute_end_date: Contirbute End Date #投稿結束時間
|
||||||
event_during: Event During #活動期間
|
event_during: Valid Period
|
||||||
contribute_during: Contribute During #投稿期間
|
contribute_during: Contribute During #投稿期間
|
||||||
signup_during: Sign Up During #報名期間
|
signup_during: Sign Up During #報名期間
|
||||||
signup_count: Sign Up Count #報名人數
|
signup_count: Applications
|
||||||
signup: Sign Up #報名
|
signup: Sign Up #報名
|
||||||
export: Export #匯出
|
export: Export #匯出
|
||||||
set_application_form_items: Items #項目
|
set_application_form_items: Items #項目
|
||||||
|
|
|
@ -125,7 +125,7 @@ zh_tw:
|
||||||
yes_: 是
|
yes_: 是
|
||||||
no_: 否
|
no_: 否
|
||||||
application_form: 線上申請表單
|
application_form: 線上申請表單
|
||||||
title: 線上申請表單名稱
|
title: 表單名稱
|
||||||
speaker: 主講者
|
speaker: 主講者
|
||||||
content: 內容說明
|
content: 內容說明
|
||||||
act_place: 活動地點
|
act_place: 活動地點
|
||||||
|
@ -138,10 +138,10 @@ zh_tw:
|
||||||
signup_end_date: 報名結束時間
|
signup_end_date: 報名結束時間
|
||||||
contribute_start_date: 投稿開始時間
|
contribute_start_date: 投稿開始時間
|
||||||
contribute_end_date: 投稿結束時間
|
contribute_end_date: 投稿結束時間
|
||||||
event_during: 活動期間
|
event_during: 有效期間
|
||||||
contribute_during: 投稿期間
|
contribute_during: 投稿期間
|
||||||
signup_during: 報名期間
|
signup_during: 報名期間
|
||||||
signup_count: 報名人數
|
signup_count: 申請紀錄
|
||||||
signup: 報名
|
signup: 報名
|
||||||
export: 匯出
|
export: 匯出
|
||||||
set_application_form_items: 項目
|
set_application_form_items: 項目
|
||||||
|
|
Loading…
Reference in New Issue