From e86844866553b09ae10e336b0079602feacc6d2d Mon Sep 17 00:00:00 2001 From: "Olivier M. Esuka" Date: Tue, 27 Oct 2020 15:58:12 +0200 Subject: [PATCH 1/2] add language tab custom name support --- source/images/logo-old.png | Bin 0 -> 3507 bytes themes/whiteboard/layout/index.ejs | 10 ++++++++++ 2 files changed, 10 insertions(+) create mode 100644 source/images/logo-old.png diff --git a/source/images/logo-old.png b/source/images/logo-old.png new file mode 100644 index 0000000000000000000000000000000000000000..fa1f13da8193dacca747df56cc1f7bb0bc111a7e GIT binary patch literal 3507 zcmV;k4NUThP)L#ooJEqksZ7R751M$tG^1>19)l zDQij3NssFqW6JM1bKd*j`xN*N5J{Lh|HGL#@6NnCcm8wlo%s;Ir)g;Xm5|rxuc0Zc zp`j_Op`j_Op((4Op((4Op((4ODXXEODXXEODXXC=n^nBKOQbCm;M|IPyuGwry?tus z1JLdN$$VPjw=)^a=PnI@NHPqoDVwc$WsAt4Psnm?f#ubW6QZKGdNq5{1JLbStT4*$ zlnmu_mxdTtmJ&rZWwRR-dkI;p`iPq+&GvAA)n36{{FtOEt0|jnDEsYEQQA|;5*eTx zKX^j8yQ#*6a9T8FHDzTfz zd3!ukB+lcn(ZX8N0?6tN8T0Xt?P8w4*gVN4Lb#-o!Z%06fiN+1fLJ?DytPAoe@toh zpJhzS)}V)8a+IXXO2Psq}*jYx@7^@47k&n%KB7m4zvgk$k=7i-2E zhY#tn`D=E89J25UM;RWsPZjy{$&KL>AzV`lyuM9T@v#W7_Oi?$YDSxYF2YvYHV~Kh zWE*8;=kRD5zja;lMS^;}b&6_?3loj1srvb~is(ICSvtBE5WA-5?Mtp#x0>fLZ%mdEF1OxfnOM2p%c>Q%N=HhGaTAm<0uN7St(?xb2M%b|i|P!><$s*a$r zK>gc_(T@qQV)7+%BX8f!PUGey@`!lgMrN-#SMWyynONnK*fe0`X_Me;a94RNcEz^_{fXW^2|6_v*Ls>kQo z8!|X}3uQ-jQ;+XhkDJ9k1f@>JtWuWzM;0;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lD^E8>=TB&(w@6-@u~ zu1Zlex-6L1ZDhb;+!B0(!3-F`tO>TpuLKVFV^~%iXURr&R2VV5?!7?j1MY?+oGSZ_m5xCLcx0_bT_Hfl!ayEH0H`_+U}{AJ700+sQdHpLu6^P=fpnF1~uU<9&i zW7dv|0b9$kq|tp<=%bh`Y?3capK1Hs69eatHf@~+awIW0vhtxR!F{mc@L@v;VMH_% z1LoFd`iZ{ppX7RybWAt(2{B^OU5l zw?SD#6;W00@L^1iM<{C(z^dmq)kJ@$#vWs25*7Rq=O@&o&d4M!P}ZuLN!gDRO9l+{ z!<&41$dhl42=HSNW7ZqO+mXc~X7iUuccKkj5o0n(44ygr+bQeZ(Wb4lKu%DWwXceU z!KQdzrbHq_8i(IP0EfXNSQOTu$4!3&-d)C?UEa8{VGe$TrIcxlL!(y`}Bz9W9^-DuTQ&vMmQ&vM$RzpKmRzpKm hRzp)(L*uW2KLF&#KY$nt%ZUI0002ovPDHLkV1g^hxJUp1 literal 0 HcmV?d00001 diff --git a/themes/whiteboard/layout/index.ejs b/themes/whiteboard/layout/index.ejs index ca08fae..91fabc9 100644 --- a/themes/whiteboard/layout/index.ejs +++ b/themes/whiteboard/layout/index.ejs @@ -43,7 +43,12 @@ <% if (language_tabs){ %> <% } %> @@ -77,7 +82,12 @@ <% if (language_tabs){ %>
<% for( var lang in language_tabs){ %> + <% if(typeof language_tabs[lang] === 'string'){ %> <%= language_tabs[lang] %> + <% } %> + <% if(typeof language_tabs[lang] === 'object'){ %> + <%= Object.values(language_tabs[lang]) %> + <% } %> <% } %>
<% } %> From 94756d990fbf2c762e8855003f31a216c30125fa Mon Sep 17 00:00:00 2001 From: "Olivier M. Esuka" Date: Sat, 31 Oct 2020 22:12:36 +0200 Subject: [PATCH 2/2] improve custom tab nae url string --- themes/whiteboard/layout/index.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/whiteboard/layout/index.ejs b/themes/whiteboard/layout/index.ejs index 91fabc9..a9d9758 100644 --- a/themes/whiteboard/layout/index.ejs +++ b/themes/whiteboard/layout/index.ejs @@ -47,7 +47,7 @@ <%= language_tabs[lang] %> <% } %> <% if(typeof language_tabs[lang] === 'object'){ %> - <%= Object.values(language_tabs[lang]) %> + <%= Object.values(language_tabs[lang]) %> <% } %> <% } %> @@ -86,7 +86,7 @@ <%= language_tabs[lang] %> <% } %> <% if(typeof language_tabs[lang] === 'object'){ %> - <%= Object.values(language_tabs[lang]) %> + <%= Object.values(language_tabs[lang]) %> <% } %> <% } %>