From 9c6bef074c210d3e03dff7240cbfed9b5f44a8e1 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Wed, 5 Jul 2017 11:22:01 +0800 Subject: [PATCH] some mods --- app/views/member_counselors/_body.html.erb | 28 +++++++++++----------- app/views/member_counselors/login.html.erb | 4 ++-- app/views/member_counselors/show.html.erb | 2 +- config/locales/en.yml | 7 +++++- config/locales/zh_tw.yml | 5 ++++ 5 files changed, 28 insertions(+), 18 deletions(-) diff --git a/app/views/member_counselors/_body.html.erb b/app/views/member_counselors/_body.html.erb index 9191eb5..48f6856 100644 --- a/app/views/member_counselors/_body.html.erb +++ b/app/views/member_counselors/_body.html.erb @@ -1,12 +1,12 @@ <%= csrf_meta_tag %> - + - - - + + + @@ -17,14 +17,14 @@ <% end %> <% else %> - + <% end %> @@ -33,12 +33,12 @@

執行計畫書 Upload File執行計畫書 <%= t("member_counselor.upload_file") %>
DateTitleAction<%= t("member_counselor.date") %><%= t("member_counselor.title") %><%= t("member_counselor.action") %>
<%= file.title %> Download - Edit - Delete + <%= t("edit") %> + <%= t("delete") %>
No files uploaded.<%= t("member_counselor.no_files_uploaded") %>
- + - - - + + + @@ -49,14 +49,14 @@ <% end %> <% else %> - + <% end %> diff --git a/app/views/member_counselors/login.html.erb b/app/views/member_counselors/login.html.erb index 02c2c61..9575065 100644 --- a/app/views/member_counselors/login.html.erb +++ b/app/views/member_counselors/login.html.erb @@ -8,11 +8,11 @@
- +
- +
diff --git a/app/views/member_counselors/show.html.erb b/app/views/member_counselors/show.html.erb index 906f9f0..a04264d 100644 --- a/app/views/member_counselors/show.html.erb +++ b/app/views/member_counselors/show.html.erb @@ -1,4 +1,4 @@ -Logout +<%= t("member_counselor.logout") %> <% case current_counselor_user.user_type %> <% when 0,1 %> <%= render :partial => "body" %> diff --git a/config/locales/en.yml b/config/locales/en.yml index dfefab7..8a1a436 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -9,6 +9,8 @@ en: account: User Account password: Password confirm_password: Confirm Password + logout: Logout + upload_file: Upload File affilated_committee: Affilated Committee name: Name organization: Organization @@ -30,4 +32,7 @@ en: city: City year: Year file_date: Date - downloaded_times: Download Count \ No newline at end of file + downloaded_times: Download Count + date: Date + action: Action + no_files_uploaded: No Files Uploaded \ No newline at end of file diff --git a/config/locales/zh_tw.yml b/config/locales/zh_tw.yml index 23330cb..cee6202 100644 --- a/config/locales/zh_tw.yml +++ b/config/locales/zh_tw.yml @@ -9,7 +9,9 @@ zh_tw: account: 帳號 password: 密碼 confirm_password: 確認密碼 + logout: 登出 affilated_committee: 所屬委員 + upload_file: 上傳檔案 name: 姓名 organization: 服務機關 title: 職稱 @@ -31,6 +33,9 @@ zh_tw: year: 年度 file_date: Date downloaded_times: Download Count + date: 日期 + action: 操作 + no_files_uploaded: 尚未上傳任何檔案
成果報告 Upload Result成果報告 <%= t("member_counselor.upload_file") %>
DateTitleAction<%= t("member_counselor.date") %><%= t("member_counselor.title") %><%= t("member_counselor.action") %>
<%= file.title %> Download - Edit - Delete + <%= t("edit") %> + <%= t("delete") %>
No files uploaded.<%= t("member_counselor.no_files_uploaded") %>