From e1e042fa6b4cbb320f4645a10ebb3d5f6ffa9af1 Mon Sep 17 00:00:00 2001 From: Bohung Date: Fri, 12 Nov 2021 14:32:00 +0800 Subject: [PATCH] Update new templates. --- announcement.gemspec | 1 + modules/announcement/_annc_widget19.html.erb | 32 ++++++++++++++++++ modules/announcement/annc_index18.html.erb | 26 ++++++++++++++ modules/announcement/info.json | 20 +++++++++-- .../thumbs/annc_index19_thumbs.png | Bin 0 -> 3511 bytes 5 files changed, 77 insertions(+), 2 deletions(-) create mode 100644 modules/announcement/_annc_widget19.html.erb create mode 100644 modules/announcement/annc_index18.html.erb create mode 100644 modules/announcement/thumbs/annc_index19_thumbs.png diff --git a/announcement.gemspec b/announcement.gemspec index dd72f8f..5b3f092 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -146,6 +146,7 @@ if bundle_update_flag end File.open(info_json_file,"w+"){|f| f.write(info_json)} end + Bundler.with_clean_env{%x[cp -rn #{app_path}/modules/announcement/thumbs/* #{folder}modules/announcement/thumbs/.]} end end rescue => e diff --git a/modules/announcement/_annc_widget19.html.erb b/modules/announcement/_annc_widget19.html.erb new file mode 100644 index 0000000..b204083 --- /dev/null +++ b/modules/announcement/_annc_widget19.html.erb @@ -0,0 +1,32 @@ + +
+

{{widget-title}}

+
\ No newline at end of file diff --git a/modules/announcement/annc_index18.html.erb b/modules/announcement/annc_index18.html.erb new file mode 100644 index 0000000..3d58bf4 --- /dev/null +++ b/modules/announcement/annc_index18.html.erb @@ -0,0 +1,26 @@ +
+

{{page-title}}

+
+{{pagination_goes_here}} \ No newline at end of file diff --git a/modules/announcement/info.json b/modules/announcement/info.json index 476c487..f27deb6 100644 --- a/modules/announcement/info.json +++ b/modules/announcement/info.json @@ -135,7 +135,15 @@ "en" : "1. Standard Title List-1 ( category, title, postdate, department)" }, "thumbnail" : "annc_index1_thumbs.png" - } + }, + { + "filename": "annc_index18", + "name": { + "zh_tw": "18. 標準文字列表三欄 ( 模組標題, 日期, 類別, 狀態, 標題, 副標題 )", + "en": "18. 3-Column Standard Text List (widget-title, postdate, category, status, title, subtitle)" + }, + "thumbnail": "annc_index19_thumbs.png" + }, ], "widgets" : [ { @@ -283,6 +291,14 @@ "en" : "17. Simple Title List-2 (widget-title, postdate, status, title), including search" }, "thumbnail" : "annc_widget11_thumbs.png" - } + }, + { + "filename": "annc_widget19", + "name": { + "zh_tw": "19. 標準文字列表三欄 ( 模組標題, 日期, 類別, 狀態, 標題, 副標題 )", + "en": "19. 3-Column Standard Text List (widget-title, postdate, category, status, title, subtitle)" + }, + "thumbnail": "annc_index19_thumbs.png" + } ] } \ No newline at end of file diff --git a/modules/announcement/thumbs/annc_index19_thumbs.png b/modules/announcement/thumbs/annc_index19_thumbs.png new file mode 100644 index 0000000000000000000000000000000000000000..21bb4c9ec8bdbce625bea8ba35b23be17989e5c5 GIT binary patch literal 3511 zcmaJ^3pkVeA0LWbQVcDjC1>lxE^ckJ6?2J>Ns z5=u_Y;Y6X^T#`_cYf^~l|4x_F|9SrX_q==G-|v0Cm(Tb6`TV|n#&>nuzFb9D1q1>u zcXG6I1D;~wTe3_Mxc}Wd{{VQb=GuF5cQXUIk$!9n$R>bEra+zOenAvBieErf*gq6J z2&7<0bNA$WlALk=Ogh3(W`p3-S%5bPgx|(v`T2)XxKJ`Bh{hloj^C;=gwg^ChI=hY zC=$z-LZvxIvnjiyUEKYnL;SG;hTFD6@jM(5fKK81L3#901_#F@7%s-e0c+W7q#<Dbnj_HWD6Bcw7;1__qmXD*Bx;KZ8iljif9B=}wZxcx^R;98htnwx?l<3ne|_zK>MN51odsmJqp)calmG`d zlMY=h8Atm$7Mq{O`|2C;b1cN4`XT`^NExv|5dG~HpdQ)syKI5Yci~eQfZExBtXtJqqTMNh8H_xwYAK( zd`2n75iy%oR7xLuO!rv-xxvt=^pHGc&~s}9pAYyBVvBCtIoJI$JWfWnJGK^-rAV&CG+H zO*>V!i)k;@$MMkzIBUD>=b|AC<8Sbh2PPRDX?Kf`G7)_#_IhT|=&QY5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