diff --git a/modules/event_news/_event_news_widget17.html.erb b/modules/event_news/_event_news_widget17.html.erb deleted file mode 100644 index 0f5f614..0000000 --- a/modules/event_news/_event_news_widget17.html.erb +++ /dev/null @@ -1,35 +0,0 @@ -
-

- {{widget-title}} -

- - - - - - - - - - - - - - - - - - - - - -
{{event_date-head}}{{title-head}}{{subtitle-head}}{{speaker-head}}{{host-head}}{{notes-head}}
- - {{status}} - - 【講題】{{title}} - 【講者】{{speaker}}{{host}}{{subtitle}}【備註】{{notes}}
-
- <%= (I18n.locale.to_s =="zh_tw") ? "更多→" : "More NEWS" %> -
-
\ No newline at end of file diff --git a/modules/event_news/info.json b/modules/event_news/info.json deleted file mode 100644 index 9c4b653..0000000 --- a/modules/event_news/info.json +++ /dev/null @@ -1,286 +0,0 @@ -{ - "frontend": [ - { - "filename" : "event_news_index1", - "name" : { - "zh_tw" : "1. 標準標題列表-1A ( 模組標題, 類別, 狀態, 標題, 日期 )", - "en" : "1. Standard Title List-1 (widget-title, category, status, title, postdate)" - }, - "thumbnail" : "event_news_index1_thumbs.png" - }, - { - "filename" : "event_news_index2", - "name" : { - "zh_tw" : "2. 標準標題列表-1B ( 模組標題, 類別, 狀態, 標題, 日期, 瀏覽人次 )", - "en" : "2. Standard Title List-1B (widget-title, category, status, title, postdate, view-count)" - }, - "thumbnail" : "event_news_index2_thumbs.png" - }, - { - "filename" : "event_news_index3", - "name" : { - "zh_tw" : "3. 標準表格列表-2A ( 模組標題, 日期, 狀態, 標題, 類別 )", - "en" : "3. Standard Table List-2 (widget-title, postdate, status, title, category)" - }, - "thumbnail" : "event_news_index3_thumbs.png" - }, - { - "filename" : "event_news_index4", - "name" : { - "zh_tw" : "4. 標準表格列表-2B ( 模組標題, 日期, 狀態, 標題, 類別, 瀏覽人次 )", - "en" : "4. Standard Table List-2 (widget-title, postdate, status, title, category, view-count)" - }, - "thumbnail" : "event_news_index4_thumbs.png" - }, - { - "filename" : "event_news_index5", - "name" : { - "zh_tw" : "5. 左圖右文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", - "en" : "5. Balanced Image + Text(Left) (widget-title, image, status, postdate, category, title, subtitle)" - }, - "thumbnail" : "event_news_index5_thumbs.png" - }, - { - "filename" : "event_news_index6", - "name" : { - "zh_tw" : "6. 右圖左文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", - "en" : "6. Balanced Image + Text(Right) (widget-title, image, status, postdate, category, title, subtitle)" - }, - "thumbnail" : "event_news_index6_thumbs.png" - }, - { - "filename" : "event_news_index7", - "name" : { - "zh_tw" : "7. 三欄圖文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", - "en" : "7. 3-Column Standard Image + Text (widget-title, image, status, postdate, category, title, subtitle)" - }, - "thumbnail" : "event_news_index7_thumbs.png" - }, - { - "filename" : "event_news_index8", - "name" : { - "zh_tw" : "8. 標準文字列表 ( 模組標題, 日期, 類別, 狀態, 標題, 副標題 )", - "en" : "8. Standard Text List (widget-title, postdate, category, status, title, subtitle)" - }, - "thumbnail" : "event_news_index8_thumbs.png" - }, - { - "filename" : "event_news_index9", - "name" : { - "zh_tw" : "9. 標準標題列表-1 ( 模組標題, 類別, 狀態, 標題, 日期 )", - "en" : "9. Standard Title List-1 (widget-title, category, status, title, postdate)" - }, - "thumbnail" : "event_news_index9_thumbs.png" - }, - { - "filename" : "event_news_index10", - "name" : { - "zh_tw" : "10. 標準標題列表-2 ( 模組標題, 日期, 狀態, 標題, 類別 )", - "en" : "10. Standard Title List-2 (widget-title, postdate, status, title, category)" - }, - "thumbnail" : "event_news_index10_thumbs.png" - }, - { - "filename" : "event_news_index11", - "name" : { - "zh_tw" : "11. 精簡標題列表-1 ( 模組標題, 狀態, 標題, 日期 )", - "en" : "11. Simple Title List-1 (widget-title, status, title, postdate)" - }, - "thumbnail" : "event_news_index11_thumbs.png" - }, - { - "filename" : "event_news_index12", - "name" : { - "zh_tw" : "12. 精簡標題列表-2 ( 模組標題, 日期, 狀態, 標題 )", - "en" : "12. Simple Title List-2 (widget-title, postdate, status, title)" - }, - "thumbnail" : "event_news_index12_thumbs.png" - }, - { - "filename" : "event_news_index13", - "name" : { - "zh_tw" : "13. 精簡表格列表-1 ( 模組標題, 狀態, 標題, 日期 )", - "en" : "13. Simple Table List (widget-title, status, title, postdate)" - }, - "thumbnail" : "event_news_index13_thumbs.png" - }, - { - "filename" : "event_news_index14", - "name" : { - "zh_tw" : "14. 精簡表格列表-2 ( 模組標題, 日期, 狀態, 標題 )", - "en" : "14. Simple Table List (widget-title, postdate, status, title)" - }, - "thumbnail" : "event_news_index14_thumbs.png" - }, - { - "filename" : "event_news_index15", - "name" : { - "zh_tw" : "15. 精簡表格列表-3 ( 模組標題, 日期, 狀態, 標題, 瀏覽人次 )", - "en" : "15. Simple Table List (widget-title, postdate, status, title, view-count)" - }, - "thumbnail" : "event_news_index15_thumbs.png" - }, - { - "filename" : "event_news_index16", - "name" : { - "zh_tw" : "16. 連結 + 附件表格列表 ( 模組標題, 類別, 狀態, 標題 )", - "en" : "16. Table List including Links and attachments (widget-title, category, status, title, view-count)" - }, - "thumbnail" : "event_news_index16_thumbs.png" - }, - { - "filename" : "event_news_index17", - "name" : { - "zh_tw" : "17. 標準標題列表-1A ( 類別, 標題, 日期, 張貼人 )", - "en" : "17. Standard Title List-1 ( category, title, postdate, department)" - }, - "thumbnail" : "event_news_index1_thumbs.png" - }, - { - "filename" : "event_news_index18", - "name" : { - "zh_tw" : "18. 標準標題列表-2 ( 日期, 演講者, 狀態, 標題, 主持人, 備註 )", - "en" : "18. Standard Title List-2 ( EventDate, speaker, status, title, host, notes)" - }, - "thumbnail" : "event_news_index1_thumbs.png" - } - ], - "widgets" : [ - { - "filename" : "event_news_widget1", - "name" : { - "zh_tw" : "1. 標準圖文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", - "en" : "1. Standard Image + Text (widget-title, image, status, postdate, category, title, subtitle)" - }, - "thumbnail" : "event_news_widget1_thumbs.png" - }, - { - "filename" : "event_news_widget2", - "name" : { - "zh_tw" : "2. 左圖右文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", - "en" : "2. Balanced Image + Text(Left) (widget-title, image, status, postdate, category, title, subtitle)" - }, - "thumbnail" : "event_news_widget2_thumbs.png" - }, - { - "filename" : "event_news_widget3", - "name" : { - "zh_tw" : "3. 右圖左文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", - "en" : "3. Balanced Image + Text(Right) (widget-title, image, status, postdate, category, title, subtitle)" - }, - "thumbnail" : "event_news_widget3_thumbs.png" - }, - { - "filename" : "event_news_widget4", - "name" : { - "zh_tw" : "4. 三欄圖文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", - "en" : "4. 3-Column Standard Image + Text (widget-title, image, status, postdate, category, title, subtitle)" - }, - "thumbnail" : "event_news_widget4_thumbs.png" - }, - { - "filename" : "event_news_widget15", - "name" : { - "zh_tw" : "4.5. 三欄圖文-slide ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", - "en" : "4.5. 3-Column Standard Image + Text -slide(widget-title, image, status, postdate, category, title, subtitle)" - }, - "thumbnail" : "event_news_widget4_thumbs.png" - }, - { - "filename" : "event_news_widget5", - "name" : { - "zh_tw" : "5. 標準文字列表 ( 模組標題, 日期, 類別, 狀態, 標題, 副標題 )", - "en" : "5. Standard Text List (widget-title, postdate, category, status, title, subtitle)" - }, - "thumbnail" : "event_news_widget5_thumbs.png" - }, - { - "filename" : "event_news_widget6", - "name" : { - "zh_tw" : "6. 標準標題列表-1 ( 模組標題, 類別, 狀態, 標題, 日期 )", - "en" : "6. Standard Title List-1 (widget-title, category, status, title, postdate)" - }, - "thumbnail" : "event_news_widget6_thumbs.png" - }, - { - "filename" : "event_news_widget7", - "name" : { - "zh_tw" : "7. 標準標題列表-2 ( 模組標題, 日期, 狀態, 標題, 類別 )", - "en" : "7. Standard Title List-2 (widget-title, postdate, status, title, category)" - }, - "thumbnail" : "event_news_widget7_thumbs.png" - }, - { - "filename" : "event_news_widget8", - "name" : { - "zh_tw" : "8. 標準表格列表-1 ( 模組標題, 類別, 狀態, 標題, 日期 )", - "en" : "8. Standard Table List-1 (widget-title, category, status, title, postdate)" - }, - "thumbnail" : "event_news_widget8_thumbs.png" - }, - { - "filename" : "event_news_widget9", - "name" : { - "zh_tw" : "9. 標準表格列表-2 ( 模組標題, 日期, 狀態, 標題, 類別 )", - "en" : "9. Standard Table List-2 (widget-title, postdate, status, title, category)" - }, - "thumbnail" : "event_news_widget9_thumbs.png" - }, - { - "filename" : "event_news_widget10", - "name" : { - "zh_tw" : "10. 精簡標題列表-1 ( 模組標題, 狀態, 標題, 日期 )", - "en" : "10. Simple Title List-1 (widget-title, status, title, postdate)" - }, - "thumbnail" : "event_news_widget10_thumbs.png" - }, - { - "filename" : "event_news_widget11", - "name" : { - "zh_tw" : "11. 精簡標題列表-2 ( 模組標題, 日期, 狀態, 標題 )", - "en" : "11. Simple Title List-2 (widget-title, postdate, status, title)" - }, - "thumbnail" : "event_news_widget11_thumbs.png" - }, - { - "filename" : "event_news_widget12", - "name" : { - "zh_tw" : "12. 精簡表格列表-1 ( 模組標題, 狀態, 標題, 日期 )", - "en" : "12. Simple Table List (widget-title, status, title, postdate)" - }, - "thumbnail" : "event_news_widget12_thumbs.png" - }, - { - "filename" : "event_news_widget13", - "name" : { - "zh_tw" : "13. 精簡表格列表-2 ( 模組標題, 日期, 狀態, 標題 )", - "en" : "13. Simple Table List (widget-title, postdate, status, title)" - }, - "thumbnail" : "event_news_widget13_thumbs.png" - }, - { - "filename" : "event_news_widget14", - "name" : { - "zh_tw" : "14. 一圖 + 標題列表 ( 模組標題, 圖片, 狀態, 標題, 日期 )", - "en" : "14. 1 Image + Title List (widget-title, image, status, title, postdate)" - }, - "thumbnail" : "event_news_widget14_thumbs.png" - }, - { - "filename" : "event_news_widget16", - "name" : { - "zh_tw" : "15. 標準表格列表-3 ( 日期, 演講者, 狀態, 標題, 主持人, 備註 )", - "en" : "15. Standard Table List (EventDate, speaker, status, title, host, notes)" - }, - "thumbnail" : "event_news_widget13_thumbs.png" - }, - { - "filename" : "event_news_widget17", - "name" : { - "zh_tw" : "16. 標準表格列表-3 ( 日期, 狀態, 標題, 演講者, 主持人, 備註 )", - "en" : "16. Standard Table List (EventDate, status, title, speaker, host, notes)" - }, - "thumbnail" : "event_news_widget13_thumbs.png" - } - ] -} \ No newline at end of file diff --git a/modules/event_news/show.html.erb b/modules/event_news/show.html.erb deleted file mode 100644 index 01a6cf5..0000000 --- a/modules/event_news/show.html.erb +++ /dev/null @@ -1,374 +0,0 @@ - - -
-

{{title}}

- - - -
-
- - {{img_description}} -
-
{{subtitle_ann}}
-

{{body}}

-
-
-
-

{{notes}}

-
- - -
- -{{link_to_edit}} - \ No newline at end of file diff --git a/modules/event_news/_event_news_widget1.html.erb b/modules/event_news_mod/_event_news_widget1.html.erb similarity index 86% rename from modules/event_news/_event_news_widget1.html.erb rename to modules/event_news_mod/_event_news_widget1.html.erb index c38db59..0e91227 100644 --- a/modules/event_news/_event_news_widget1.html.erb +++ b/modules/event_news_mod/_event_news_widget1.html.erb @@ -24,8 +24,8 @@ {{title}}
{{subtitle}}
-
【{{speaker-head}}】 {{speaker}}
-
【{{host-head}}】 {{host}}
+
【{{speaker-head}}】 {{speaker}}
+
【{{host-head}}】 {{host}}
diff --git a/modules/event_news/_event_news_widget10.html.erb b/modules/event_news_mod/_event_news_widget10.html.erb similarity index 100% rename from modules/event_news/_event_news_widget10.html.erb rename to modules/event_news_mod/_event_news_widget10.html.erb diff --git a/modules/event_news/_event_news_widget11.html.erb b/modules/event_news_mod/_event_news_widget11.html.erb similarity index 100% rename from modules/event_news/_event_news_widget11.html.erb rename to modules/event_news_mod/_event_news_widget11.html.erb diff --git a/modules/event_news/_event_news_widget12.html.erb b/modules/event_news_mod/_event_news_widget12.html.erb similarity index 100% rename from modules/event_news/_event_news_widget12.html.erb rename to modules/event_news_mod/_event_news_widget12.html.erb diff --git a/modules/event_news/_event_news_widget13.html.erb b/modules/event_news_mod/_event_news_widget13.html.erb similarity index 100% rename from modules/event_news/_event_news_widget13.html.erb rename to modules/event_news_mod/_event_news_widget13.html.erb diff --git a/modules/event_news/_event_news_widget14.html.erb b/modules/event_news_mod/_event_news_widget14.html.erb similarity index 100% rename from modules/event_news/_event_news_widget14.html.erb rename to modules/event_news_mod/_event_news_widget14.html.erb diff --git a/modules/event_news/_event_news_widget15.html.erb b/modules/event_news_mod/_event_news_widget15.html.erb similarity index 100% rename from modules/event_news/_event_news_widget15.html.erb rename to modules/event_news_mod/_event_news_widget15.html.erb diff --git a/modules/event_news/_event_news_widget16.html.erb b/modules/event_news_mod/_event_news_widget16.html.erb similarity index 100% rename from modules/event_news/_event_news_widget16.html.erb rename to modules/event_news_mod/_event_news_widget16.html.erb diff --git a/modules/event_news_mod/_event_news_widget17.html.erb b/modules/event_news_mod/_event_news_widget17.html.erb new file mode 100644 index 0000000..5cc9396 --- /dev/null +++ b/modules/event_news_mod/_event_news_widget17.html.erb @@ -0,0 +1,27 @@ +
+

+ {{widget-title}} +

+ + + + + + + + + + + + + +
+ + {{status}} + + {{title-head}}{{title}} + {{speaker-head}}{{speaker}}{{host-head}}{{host}}{{place-head}}{{place}}{{event_date-head}}{{event-time-formated}}{{subtitle}}{{notes-head}}{{notes}}
+ +
\ No newline at end of file diff --git a/modules/event_news_mod/_event_news_widget18.html.erb b/modules/event_news_mod/_event_news_widget18.html.erb new file mode 100644 index 0000000..e3ad478 --- /dev/null +++ b/modules/event_news_mod/_event_news_widget18.html.erb @@ -0,0 +1,83 @@ +
+
+ {{calendar_title}} + {{widget_title}} +
+
+

+ placeholder + +

+ + + + + + + + + + + + + + +
SunMonTueWedThuFriSat
+
+ +
+<%= stylesheet_link_tag "event_news_calendar_widget2" %> + \ No newline at end of file diff --git a/modules/event_news/_event_news_widget2.html.erb b/modules/event_news_mod/_event_news_widget2.html.erb similarity index 100% rename from modules/event_news/_event_news_widget2.html.erb rename to modules/event_news_mod/_event_news_widget2.html.erb diff --git a/modules/event_news/_event_news_widget3.html.erb b/modules/event_news_mod/_event_news_widget3.html.erb similarity index 100% rename from modules/event_news/_event_news_widget3.html.erb rename to modules/event_news_mod/_event_news_widget3.html.erb diff --git a/modules/event_news/_event_news_widget4.html.erb b/modules/event_news_mod/_event_news_widget4.html.erb similarity index 100% rename from modules/event_news/_event_news_widget4.html.erb rename to modules/event_news_mod/_event_news_widget4.html.erb diff --git a/modules/event_news/_event_news_widget5.html.erb b/modules/event_news_mod/_event_news_widget5.html.erb similarity index 100% rename from modules/event_news/_event_news_widget5.html.erb rename to modules/event_news_mod/_event_news_widget5.html.erb diff --git a/modules/event_news/_event_news_widget6.html.erb b/modules/event_news_mod/_event_news_widget6.html.erb similarity index 100% rename from modules/event_news/_event_news_widget6.html.erb rename to modules/event_news_mod/_event_news_widget6.html.erb diff --git a/modules/event_news/_event_news_widget7.html.erb b/modules/event_news_mod/_event_news_widget7.html.erb similarity index 100% rename from modules/event_news/_event_news_widget7.html.erb rename to modules/event_news_mod/_event_news_widget7.html.erb diff --git a/modules/event_news/_event_news_widget8.html.erb b/modules/event_news_mod/_event_news_widget8.html.erb similarity index 100% rename from modules/event_news/_event_news_widget8.html.erb rename to modules/event_news_mod/_event_news_widget8.html.erb diff --git a/modules/event_news/_event_news_widget9.html.erb b/modules/event_news_mod/_event_news_widget9.html.erb similarity index 100% rename from modules/event_news/_event_news_widget9.html.erb rename to modules/event_news_mod/_event_news_widget9.html.erb diff --git a/modules/event_news/event_news_index1.html.erb b/modules/event_news_mod/event_news_index1.html.erb similarity index 100% rename from modules/event_news/event_news_index1.html.erb rename to modules/event_news_mod/event_news_index1.html.erb diff --git a/modules/event_news/event_news_index10.html.erb b/modules/event_news_mod/event_news_index10.html.erb similarity index 100% rename from modules/event_news/event_news_index10.html.erb rename to modules/event_news_mod/event_news_index10.html.erb diff --git a/modules/event_news/event_news_index11.html.erb b/modules/event_news_mod/event_news_index11.html.erb similarity index 100% rename from modules/event_news/event_news_index11.html.erb rename to modules/event_news_mod/event_news_index11.html.erb diff --git a/modules/event_news/event_news_index12.html.erb b/modules/event_news_mod/event_news_index12.html.erb similarity index 100% rename from modules/event_news/event_news_index12.html.erb rename to modules/event_news_mod/event_news_index12.html.erb diff --git a/modules/event_news/event_news_index13.html.erb b/modules/event_news_mod/event_news_index13.html.erb similarity index 100% rename from modules/event_news/event_news_index13.html.erb rename to modules/event_news_mod/event_news_index13.html.erb diff --git a/modules/event_news/event_news_index14.html.erb b/modules/event_news_mod/event_news_index14.html.erb similarity index 100% rename from modules/event_news/event_news_index14.html.erb rename to modules/event_news_mod/event_news_index14.html.erb diff --git a/modules/event_news/event_news_index15.html.erb b/modules/event_news_mod/event_news_index15.html.erb similarity index 100% rename from modules/event_news/event_news_index15.html.erb rename to modules/event_news_mod/event_news_index15.html.erb diff --git a/modules/event_news/event_news_index16.html.erb b/modules/event_news_mod/event_news_index16.html.erb similarity index 100% rename from modules/event_news/event_news_index16.html.erb rename to modules/event_news_mod/event_news_index16.html.erb diff --git a/modules/event_news/event_news_index17.html.erb b/modules/event_news_mod/event_news_index17.html.erb similarity index 100% rename from modules/event_news/event_news_index17.html.erb rename to modules/event_news_mod/event_news_index17.html.erb diff --git a/modules/event_news/event_news_index18.html.erb b/modules/event_news_mod/event_news_index18.html.erb similarity index 100% rename from modules/event_news/event_news_index18.html.erb rename to modules/event_news_mod/event_news_index18.html.erb diff --git a/modules/event_news/event_news_index2.html.erb b/modules/event_news_mod/event_news_index2.html.erb similarity index 100% rename from modules/event_news/event_news_index2.html.erb rename to modules/event_news_mod/event_news_index2.html.erb diff --git a/modules/event_news/event_news_index3.html.erb b/modules/event_news_mod/event_news_index3.html.erb similarity index 100% rename from modules/event_news/event_news_index3.html.erb rename to modules/event_news_mod/event_news_index3.html.erb diff --git a/modules/event_news/event_news_index4.html.erb b/modules/event_news_mod/event_news_index4.html.erb similarity index 100% rename from modules/event_news/event_news_index4.html.erb rename to modules/event_news_mod/event_news_index4.html.erb diff --git a/modules/event_news/event_news_index5.html.erb b/modules/event_news_mod/event_news_index5.html.erb similarity index 100% rename from modules/event_news/event_news_index5.html.erb rename to modules/event_news_mod/event_news_index5.html.erb diff --git a/modules/event_news/event_news_index6.html.erb b/modules/event_news_mod/event_news_index6.html.erb similarity index 100% rename from modules/event_news/event_news_index6.html.erb rename to modules/event_news_mod/event_news_index6.html.erb diff --git a/modules/event_news/event_news_index7.html.erb b/modules/event_news_mod/event_news_index7.html.erb similarity index 100% rename from modules/event_news/event_news_index7.html.erb rename to modules/event_news_mod/event_news_index7.html.erb diff --git a/modules/event_news/event_news_index8.html.erb b/modules/event_news_mod/event_news_index8.html.erb similarity index 100% rename from modules/event_news/event_news_index8.html.erb rename to modules/event_news_mod/event_news_index8.html.erb diff --git a/modules/event_news/event_news_index9.html.erb b/modules/event_news_mod/event_news_index9.html.erb similarity index 100% rename from modules/event_news/event_news_index9.html.erb rename to modules/event_news_mod/event_news_index9.html.erb diff --git a/modules/event_news_mod/info.json b/modules/event_news_mod/info.json new file mode 100644 index 0000000..8618fbf --- /dev/null +++ b/modules/event_news_mod/info.json @@ -0,0 +1,295 @@ +{ + "frontend": [ + { + "filename": "event_news_index1", + "name": { + "zh_tw": "1. 標準標題列表-1A ( 模組標題, 類別, 狀態, 標題, 日期 )", + "en": "1. Standard Title List-1 (widget-title, category, status, title, postdate)" + }, + "thumbnail": "event_news_index1_thumbs.png" + }, + { + "filename": "event_news_index2", + "name": { + "zh_tw": "2. 標準標題列表-1B ( 模組標題, 類別, 狀態, 標題, 日期, 瀏覽人次 )", + "en": "2. Standard Title List-1B (widget-title, category, status, title, postdate, view-count)" + }, + "thumbnail": "event_news_index2_thumbs.png" + }, + { + "filename": "event_news_index3", + "name": { + "zh_tw": "3. 標準表格列表-2A ( 模組標題, 日期, 狀態, 標題, 類別 )", + "en": "3. Standard Table List-2 (widget-title, postdate, status, title, category)" + }, + "thumbnail": "event_news_index3_thumbs.png" + }, + { + "filename": "event_news_index4", + "name": { + "zh_tw": "4. 標準表格列表-2B ( 模組標題, 日期, 狀態, 標題, 類別, 瀏覽人次 )", + "en": "4. Standard Table List-2 (widget-title, postdate, status, title, category, view-count)" + }, + "thumbnail": "event_news_index4_thumbs.png" + }, + { + "filename": "event_news_index5", + "name": { + "zh_tw": "5. 左圖右文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", + "en": "5. Balanced Image + Text(Left) (widget-title, image, status, postdate, category, title, subtitle)" + }, + "thumbnail": "event_news_index5_thumbs.png" + }, + { + "filename": "event_news_index6", + "name": { + "zh_tw": "6. 右圖左文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", + "en": "6. Balanced Image + Text(Right) (widget-title, image, status, postdate, category, title, subtitle)" + }, + "thumbnail": "event_news_index6_thumbs.png" + }, + { + "filename": "event_news_index7", + "name": { + "zh_tw": "7. 三欄圖文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", + "en": "7. 3-Column Standard Image + Text (widget-title, image, status, postdate, category, title, subtitle)" + }, + "thumbnail": "event_news_index7_thumbs.png" + }, + { + "filename": "event_news_index8", + "name": { + "zh_tw": "8. 標準文字列表 ( 模組標題, 日期, 類別, 狀態, 標題, 副標題 )", + "en": "8. Standard Text List (widget-title, postdate, category, status, title, subtitle)" + }, + "thumbnail": "event_news_index8_thumbs.png" + }, + { + "filename": "event_news_index9", + "name": { + "zh_tw": "9. 標準標題列表-1 ( 模組標題, 類別, 狀態, 標題, 日期 )", + "en": "9. Standard Title List-1 (widget-title, category, status, title, postdate)" + }, + "thumbnail": "event_news_index9_thumbs.png" + }, + { + "filename": "event_news_index10", + "name": { + "zh_tw": "10. 標準標題列表-2 ( 模組標題, 日期, 狀態, 標題, 類別 )", + "en": "10. Standard Title List-2 (widget-title, postdate, status, title, category)" + }, + "thumbnail": "event_news_index10_thumbs.png" + }, + { + "filename": "event_news_index11", + "name": { + "zh_tw": "11. 精簡標題列表-1 ( 模組標題, 狀態, 標題, 日期 )", + "en": "11. Simple Title List-1 (widget-title, status, title, postdate)" + }, + "thumbnail": "event_news_index11_thumbs.png" + }, + { + "filename": "event_news_index12", + "name": { + "zh_tw": "12. 精簡標題列表-2 ( 模組標題, 日期, 狀態, 標題 )", + "en": "12. Simple Title List-2 (widget-title, postdate, status, title)" + }, + "thumbnail": "event_news_index12_thumbs.png" + }, + { + "filename": "event_news_index13", + "name": { + "zh_tw": "13. 精簡表格列表-1 ( 模組標題, 狀態, 標題, 日期 )", + "en": "13. Simple Table List (widget-title, status, title, postdate)" + }, + "thumbnail": "event_news_index13_thumbs.png" + }, + { + "filename": "event_news_index14", + "name": { + "zh_tw": "14. 精簡表格列表-2 ( 模組標題, 日期, 狀態, 標題 )", + "en": "14. Simple Table List (widget-title, postdate, status, title)" + }, + "thumbnail": "event_news_index14_thumbs.png" + }, + { + "filename": "event_news_index15", + "name": { + "zh_tw": "15. 精簡表格列表-3 ( 模組標題, 日期, 狀態, 標題, 瀏覽人次 )", + "en": "15. Simple Table List (widget-title, postdate, status, title, view-count)" + }, + "thumbnail": "event_news_index15_thumbs.png" + }, + { + "filename": "event_news_index16", + "name": { + "zh_tw": "16. 連結 + 附件表格列表 ( 模組標題, 類別, 狀態, 標題 )", + "en": "16. Table List including Links and attachments (widget-title, category, status, title, view-count)" + }, + "thumbnail": "event_news_index16_thumbs.png" + }, + { + "filename": "event_news_index17", + "name": { + "zh_tw": "17. 標準標題列表-1A ( 類別, 標題, 日期, 張貼人 )", + "en": "17. Standard Title List-1 ( category, title, postdate, department)" + }, + "thumbnail": "event_news_index1_thumbs.png" + }, + { + "filename": "event_news_index18", + "name": { + "zh_tw": "18. 標準標題列表-2 ( 日期, 演講者, 狀態, 標題, 主持人, 備註 )", + "en": "18. Standard Title List-2 ( EventDate, speaker, status, title, host, notes)" + }, + "thumbnail": "event_news_index1_thumbs.png" + } + ], + "widgets": [ + { + "filename": "event_news_widget1", + "name": { + "zh_tw": "1. 標準圖文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", + "en": "1. Standard Image + Text (widget-title, image, status, postdate, category, title, subtitle)" + }, + "thumbnail": "event_news_widget1_thumbs.png" + }, + { + "filename": "event_news_widget2", + "name": { + "zh_tw": "2. 左圖右文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", + "en": "2. Balanced Image + Text(Left) (widget-title, image, status, postdate, category, title, subtitle)" + }, + "thumbnail": "event_news_widget2_thumbs.png" + }, + { + "filename": "event_news_widget3", + "name": { + "zh_tw": "3. 右圖左文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", + "en": "3. Balanced Image + Text(Right) (widget-title, image, status, postdate, category, title, subtitle)" + }, + "thumbnail": "event_news_widget3_thumbs.png" + }, + { + "filename": "event_news_widget4", + "name": { + "zh_tw": "4. 三欄圖文 ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", + "en": "4. 3-Column Standard Image + Text (widget-title, image, status, postdate, category, title, subtitle)" + }, + "thumbnail": "event_news_widget4_thumbs.png" + }, + { + "filename": "event_news_widget15", + "name": { + "zh_tw": "4.5. 三欄圖文-slide ( 模組標題, 圖片, 狀態, 日期, 類別, 標題, 副標題 )", + "en": "4.5. 3-Column Standard Image + Text -slide(widget-title, image, status, postdate, category, title, subtitle)" + }, + "thumbnail": "event_news_widget4_thumbs.png" + }, + { + "filename": "event_news_widget5", + "name": { + "zh_tw": "5. 標準文字列表 ( 模組標題, 日期, 類別, 狀態, 標題, 副標題 )", + "en": "5. Standard Text List (widget-title, postdate, category, status, title, subtitle)" + }, + "thumbnail": "event_news_widget5_thumbs.png" + }, + { + "filename": "event_news_widget6", + "name": { + "zh_tw": "6. 標準標題列表-1 ( 模組標題, 類別, 狀態, 標題, 日期 )", + "en": "6. Standard Title List-1 (widget-title, category, status, title, postdate)" + }, + "thumbnail": "event_news_widget6_thumbs.png" + }, + { + "filename": "event_news_widget7", + "name": { + "zh_tw": "7. 標準標題列表-2 ( 模組標題, 日期, 狀態, 標題, 類別 )", + "en": "7. Standard Title List-2 (widget-title, postdate, status, title, category)" + }, + "thumbnail": "event_news_widget7_thumbs.png" + }, + { + "filename": "event_news_widget8", + "name": { + "zh_tw": "8. 標準表格列表-1 ( 模組標題, 類別, 狀態, 標題, 日期 )", + "en": "8. Standard Table List-1 (widget-title, category, status, title, postdate)" + }, + "thumbnail": "event_news_widget8_thumbs.png" + }, + { + "filename": "event_news_widget9", + "name": { + "zh_tw": "9. 標準表格列表-2 ( 模組標題, 日期, 狀態, 標題, 類別 )", + "en": "9. Standard Table List-2 (widget-title, postdate, status, title, category)" + }, + "thumbnail": "event_news_widget9_thumbs.png" + }, + { + "filename": "event_news_widget10", + "name": { + "zh_tw": "10. 精簡標題列表-1 ( 模組標題, 狀態, 標題, 日期 )", + "en": "10. Simple Title List-1 (widget-title, status, title, postdate)" + }, + "thumbnail": "event_news_widget10_thumbs.png" + }, + { + "filename": "event_news_widget11", + "name": { + "zh_tw": "11. 精簡標題列表-2 ( 模組標題, 日期, 狀態, 標題 )", + "en": "11. Simple Title List-2 (widget-title, postdate, status, title)" + }, + "thumbnail": "event_news_widget11_thumbs.png" + }, + { + "filename": "event_news_widget12", + "name": { + "zh_tw": "12. 精簡表格列表-1 ( 模組標題, 狀態, 標題, 日期 )", + "en": "12. Simple Table List (widget-title, status, title, postdate)" + }, + "thumbnail": "event_news_widget12_thumbs.png" + }, + { + "filename": "event_news_widget13", + "name": { + "zh_tw": "13. 精簡表格列表-2 ( 模組標題, 日期, 狀態, 標題 )", + "en": "13. Simple Table List (widget-title, postdate, status, title)" + }, + "thumbnail": "event_news_widget13_thumbs.png" + }, + { + "filename": "event_news_widget14", + "name": { + "zh_tw": "14. 一圖 + 標題列表 ( 模組標題, 圖片, 狀態, 標題, 日期 )", + "en": "14. 1 Image + Title List (widget-title, image, status, title, postdate)" + }, + "thumbnail": "event_news_widget14_thumbs.png" + }, + { + "filename": "event_news_widget16", + "name": { + "zh_tw": "15. 標準表格列表-3 ( 日期, 演講者, 狀態, 標題, 主持人, 備註 )", + "en": "15. Standard Table List (EventDate, speaker, status, title, host, notes)" + }, + "thumbnail": "event_news_widget13_thumbs.png" + }, + { + "filename": "event_news_widget17", + "name": { + "zh_tw": "16. 標準表格列表-3 ( 日期, 狀態, 標題, 演講者, 主持人, 備註 )", + "en": "16. Standard Table List (EventDate, status, title, speaker, host, notes)" + }, + "thumbnail": "event_news_widget13_thumbs.png" + }, + { + "filename": "event_news_widget18", + "name": { + "zh_tw": "18. 日歷", + "en": "18. Calendar" + }, + "force_cover": "true", + "thumbnail": "event_news_widget13_thumbs.png" + } + ] +} \ No newline at end of file diff --git a/modules/event_news_mod/show.html.erb b/modules/event_news_mod/show.html.erb new file mode 100644 index 0000000..c94bc39 --- /dev/null +++ b/modules/event_news_mod/show.html.erb @@ -0,0 +1,65 @@ +
+

{{title}}

+ + + +
+
+ + {{img_description}} +
+
{{subtitle_ann}}
+

{{body}}

+
+
+
+

{{notes}}

+
+ +
+{{link_to_edit}} \ No newline at end of file diff --git a/modules/event_news/thumbs/event_news_index10_thumbs.png b/modules/event_news_mod/thumbs/event_news_index10_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_index10_thumbs.png rename to modules/event_news_mod/thumbs/event_news_index10_thumbs.png diff --git a/modules/event_news/thumbs/event_news_index11_thumbs.png b/modules/event_news_mod/thumbs/event_news_index11_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_index11_thumbs.png rename to modules/event_news_mod/thumbs/event_news_index11_thumbs.png diff --git a/modules/event_news/thumbs/event_news_index12_thumbs.png b/modules/event_news_mod/thumbs/event_news_index12_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_index12_thumbs.png rename to modules/event_news_mod/thumbs/event_news_index12_thumbs.png diff --git a/modules/event_news/thumbs/event_news_index13_thumbs.png b/modules/event_news_mod/thumbs/event_news_index13_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_index13_thumbs.png rename to modules/event_news_mod/thumbs/event_news_index13_thumbs.png diff --git a/modules/event_news/thumbs/event_news_index14_thumbs.png b/modules/event_news_mod/thumbs/event_news_index14_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_index14_thumbs.png rename to modules/event_news_mod/thumbs/event_news_index14_thumbs.png diff --git a/modules/event_news/thumbs/event_news_index15_thumbs.png b/modules/event_news_mod/thumbs/event_news_index15_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_index15_thumbs.png rename to modules/event_news_mod/thumbs/event_news_index15_thumbs.png diff --git a/modules/event_news/thumbs/event_news_index16_thumbs.png b/modules/event_news_mod/thumbs/event_news_index16_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_index16_thumbs.png rename to modules/event_news_mod/thumbs/event_news_index16_thumbs.png diff --git a/modules/event_news/thumbs/event_news_index1_thumbs.png b/modules/event_news_mod/thumbs/event_news_index1_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_index1_thumbs.png rename to modules/event_news_mod/thumbs/event_news_index1_thumbs.png diff --git a/modules/event_news/thumbs/event_news_index2_thumbs.png b/modules/event_news_mod/thumbs/event_news_index2_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_index2_thumbs.png rename to modules/event_news_mod/thumbs/event_news_index2_thumbs.png diff --git a/modules/event_news/thumbs/event_news_index3_thumbs.png b/modules/event_news_mod/thumbs/event_news_index3_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_index3_thumbs.png rename to modules/event_news_mod/thumbs/event_news_index3_thumbs.png diff --git a/modules/event_news/thumbs/event_news_index4_thumbs.png b/modules/event_news_mod/thumbs/event_news_index4_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_index4_thumbs.png rename to modules/event_news_mod/thumbs/event_news_index4_thumbs.png diff --git a/modules/event_news/thumbs/event_news_index5_thumbs.png b/modules/event_news_mod/thumbs/event_news_index5_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_index5_thumbs.png rename to modules/event_news_mod/thumbs/event_news_index5_thumbs.png diff --git a/modules/event_news/thumbs/event_news_index6_thumbs.png b/modules/event_news_mod/thumbs/event_news_index6_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_index6_thumbs.png rename to modules/event_news_mod/thumbs/event_news_index6_thumbs.png diff --git a/modules/event_news/thumbs/event_news_index7_thumbs.png b/modules/event_news_mod/thumbs/event_news_index7_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_index7_thumbs.png rename to modules/event_news_mod/thumbs/event_news_index7_thumbs.png diff --git a/modules/event_news/thumbs/event_news_index8_thumbs.png b/modules/event_news_mod/thumbs/event_news_index8_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_index8_thumbs.png rename to modules/event_news_mod/thumbs/event_news_index8_thumbs.png diff --git a/modules/event_news/thumbs/event_news_index9_thumbs.png b/modules/event_news_mod/thumbs/event_news_index9_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_index9_thumbs.png rename to modules/event_news_mod/thumbs/event_news_index9_thumbs.png diff --git a/modules/event_news/thumbs/event_news_widget10_thumbs.png b/modules/event_news_mod/thumbs/event_news_widget10_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_widget10_thumbs.png rename to modules/event_news_mod/thumbs/event_news_widget10_thumbs.png diff --git a/modules/event_news/thumbs/event_news_widget11_thumbs.png b/modules/event_news_mod/thumbs/event_news_widget11_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_widget11_thumbs.png rename to modules/event_news_mod/thumbs/event_news_widget11_thumbs.png diff --git a/modules/event_news/thumbs/event_news_widget12_thumbs.png b/modules/event_news_mod/thumbs/event_news_widget12_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_widget12_thumbs.png rename to modules/event_news_mod/thumbs/event_news_widget12_thumbs.png diff --git a/modules/event_news/thumbs/event_news_widget13_thumbs.png b/modules/event_news_mod/thumbs/event_news_widget13_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_widget13_thumbs.png rename to modules/event_news_mod/thumbs/event_news_widget13_thumbs.png diff --git a/modules/event_news/thumbs/event_news_widget14_thumbs.png b/modules/event_news_mod/thumbs/event_news_widget14_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_widget14_thumbs.png rename to modules/event_news_mod/thumbs/event_news_widget14_thumbs.png diff --git a/modules/event_news/thumbs/event_news_widget1_thumbs.png b/modules/event_news_mod/thumbs/event_news_widget1_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_widget1_thumbs.png rename to modules/event_news_mod/thumbs/event_news_widget1_thumbs.png diff --git a/modules/event_news/thumbs/event_news_widget2_thumbs.png b/modules/event_news_mod/thumbs/event_news_widget2_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_widget2_thumbs.png rename to modules/event_news_mod/thumbs/event_news_widget2_thumbs.png diff --git a/modules/event_news/thumbs/event_news_widget3_thumbs.png b/modules/event_news_mod/thumbs/event_news_widget3_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_widget3_thumbs.png rename to modules/event_news_mod/thumbs/event_news_widget3_thumbs.png diff --git a/modules/event_news/thumbs/event_news_widget4_thumbs.png b/modules/event_news_mod/thumbs/event_news_widget4_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_widget4_thumbs.png rename to modules/event_news_mod/thumbs/event_news_widget4_thumbs.png diff --git a/modules/event_news/thumbs/event_news_widget5_thumbs.png b/modules/event_news_mod/thumbs/event_news_widget5_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_widget5_thumbs.png rename to modules/event_news_mod/thumbs/event_news_widget5_thumbs.png diff --git a/modules/event_news/thumbs/event_news_widget6_thumbs.png b/modules/event_news_mod/thumbs/event_news_widget6_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_widget6_thumbs.png rename to modules/event_news_mod/thumbs/event_news_widget6_thumbs.png diff --git a/modules/event_news/thumbs/event_news_widget7_thumbs.png b/modules/event_news_mod/thumbs/event_news_widget7_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_widget7_thumbs.png rename to modules/event_news_mod/thumbs/event_news_widget7_thumbs.png diff --git a/modules/event_news/thumbs/event_news_widget8_thumbs.png b/modules/event_news_mod/thumbs/event_news_widget8_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_widget8_thumbs.png rename to modules/event_news_mod/thumbs/event_news_widget8_thumbs.png diff --git a/modules/event_news/thumbs/event_news_widget9_thumbs.png b/modules/event_news_mod/thumbs/event_news_widget9_thumbs.png similarity index 100% rename from modules/event_news/thumbs/event_news_widget9_thumbs.png rename to modules/event_news_mod/thumbs/event_news_widget9_thumbs.png