From e256053de4e5de32844b3ceac00e82bcae0a3957 Mon Sep 17 00:00:00 2001 From: rulingcom Date: Tue, 1 Nov 2022 00:24:58 +0800 Subject: [PATCH] Updated. --- modules/archive/_archive_widget3.html.erb | 29 +++++++++++++ modules/archive/_archive_widget4.html.erb | 51 +++++++++++++++++++++++ modules/archive/archive_index9.html.erb | 19 +++++---- modules/archive/info.json | 16 +++++++ 4 files changed, 107 insertions(+), 8 deletions(-) create mode 100644 modules/archive/_archive_widget3.html.erb create mode 100644 modules/archive/_archive_widget4.html.erb diff --git a/modules/archive/_archive_widget3.html.erb b/modules/archive/_archive_widget3.html.erb new file mode 100644 index 0000000..1978557 --- /dev/null +++ b/modules/archive/_archive_widget3.html.erb @@ -0,0 +1,29 @@ +
+

{{widget-title}}

+ +

+ <%= (I18n.locale.to_s =="zh_tw") ? "更多資訊" : "More" %> +

+ +
diff --git a/modules/archive/_archive_widget4.html.erb b/modules/archive/_archive_widget4.html.erb new file mode 100644 index 0000000..903a726 --- /dev/null +++ b/modules/archive/_archive_widget4.html.erb @@ -0,0 +1,51 @@ +
+

+ {{widget-title}} +

+
+
+ +
+
+
+
+ {{archive-title}} + + {{status}} + +
+
+
+ {{file-name}} + {{file-type}} +
+
+
+
+
+
+ {{link_to_edit}} +
+

+ <%= (I18n.locale.to_s =="zh_tw") ? "更多資訊" : "More" %> +

+ +
\ No newline at end of file diff --git a/modules/archive/archive_index9.html.erb b/modules/archive/archive_index9.html.erb index bccd3f1..4dacf0e 100644 --- a/modules/archive/archive_index9.html.erb +++ b/modules/archive/archive_index9.html.erb @@ -12,14 +12,17 @@ - - - {{file-name}} - - - {{file-type}} - - + + + + + {{file-name}} + + + {{file-type}} + + + diff --git a/modules/archive/info.json b/modules/archive/info.json index 701b777..860e236 100644 --- a/modules/archive/info.json +++ b/modules/archive/info.json @@ -121,6 +121,22 @@ "en": "2. Accordion list (widget-title, category, link of download page)" }, "thumbnail": "thumb.png" + }, + { + "filename": "archive_widget3", + "name": { + "zh_tw": "3. 列表 ( 模組標題, 類別標題, 檔案名稱, 包含檔案 )", + "en": "3. List (widget-title, category, and files)" + }, + "thumbnail": "thumb.png" + }, + { + "filename": "archive_widget4", + "name": { + "zh_tw": "4. 手風琴式列表 - 有下拉 ( 模組標題, 類別標題, 包含檔案 )", + "en": "4. Accordion list - with drop down (widget-title, category, and files)" + }, + "thumbnail": "thumb.png" } ] } \ No newline at end of file