From 8c6e5deb64a5f9706682e863ad2c58fefa5c9a89 Mon Sep 17 00:00:00 2001 From: devin Date: Wed, 24 Oct 2012 09:47:09 +0800 Subject: [PATCH] gallery update please don't forget to add translation in other language --- .../app/assets/images/gallery/default.jpg | Bin 3857 -> 1620 bytes .../app/assets/javascripts/galleryAPI.js.erb | 2 +- .../app/assets/stylesheets/gallery.css | 4 ++-- .../gallery/back_end/albums/new.html.erb | 8 ++++---- .../gallery_categories/index.html.erb | 4 +--- .../gallery/config/locales/zh_tw.yml | 2 ++ 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/vendor/built_in_modules/gallery/app/assets/images/gallery/default.jpg b/vendor/built_in_modules/gallery/app/assets/images/gallery/default.jpg index 9c925d34fd2c3fb34761fdacc1f244a9e05c6304..3a48d48ff4d09708de702a556eb7bbf5c9618b6d 100755 GIT binary patch delta 1448 zcmY+CdpOit7{|}=_cJplxka|tU_w@m!F1bno61&b#Wag*NcE&eG!!z}-^@OV%C36~ zV~fdPD(gNKLWAV8VNm0;S|v=T*;!<}n4RhJJlp%nInQ&>=ly=)^PV@=RJ=Hahn@kK z5J(@u`VgWIDMi2pKmbM{Re;ZdXuwz;gwe#SuGi`T7=mG}CKiT~j{pQC8ki+m{S}Ve zJPph#hmVAD8ZEZdQm>U6u0DDyEx%ipX81q3PqOM$eJGs*nW78*0N{!to5UqWob1Hq z&k<6+KLxapV>eJ6MVdp@^CC?N(xA#i#Oy21_zY^MGv1Ke>Abj{Bl8>G^zb8>tL6^C zR%|%{n)rNnp0$cp;dC{rU_ZcJp*DX~I{+^y64PKJ0A1Ev`Y6>)6lNT2)9<}r_r7cP zv^&F`J??#H??peCXTr?u_LnjRZGx_R>3Zn|#??o*dS?(*RBFty5oh`+K}+GWd8A-s zB%{?ZyS&b$fHlyRyKZ~+E&P^_D(2Yz6yqlKgNEv<(HV;g>I$=AyxJR2v~7bDH8lRF z`k)t(tjTz>^vJ!I0r|_xosP*Dct5zf^{uG`eE{OxR20y-K{RHuY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hQJdu1eS6`S>R%6aiKpuVM^^IL zNdZey1f?U-)5rwLmz?*68I<|KR^Db6AC3Wf7Mr96NmP5OBK~On{n!sj^BQcvnd+L? zki{)B3f*zSQUTK%QUvaHOi3^za2dyqc+#tis!M1NQ{^;&u4<*CC&aFAy%s80A@2R; zgdfUp=O#_Jj0FDxf_Ubqg{lQR<;tv~_di&r7c7-`RP!FbW8NOIfUr2@q^4V^R$aq& zNpbq7gO6rRj_WPB0)uRu{iH;nbNt>Aph-R>GJR(Ik5lu&6!}T@zz@d8ZO9G0umE6Q zz+0UBa0cXmX4CHf0JZ=D^s(Q|0O^+IFJ(#0YuHOFeVQTFq2Vd-)>EX;l9FH(&;9Tg z?+8;><#`1SC1MuC^ysM8fZ|*LuBB^9`!Z9p2FL3-342Z`$TkI9u1aJk+K(Uz`QQ~l znA6d)^+i+ZVU}C#A9ZoJbSJtuzR)AeW-t^V6>(L6R}j7%LYCH9POsJ2*-DECUyBt% z+h8m?k`W^o(pZ#V*;^uN`%O0^K%WcL!KIpHb> z5}7-9LVunDu;MD5`#g6;IaX-aUdj6wJ2TRvBz4dCd|!qANeIWWbCV<4Ihv!z`lIF! z_wL{i>^$zr*!iK7BlTK?Gqw7@cmP&Moo(!YeAav*8dte*?qCPlIoaDM%_d{}B}d)i zzz4AN$o2=;Tm;%!cYjNH;0ki=#1$le z&{pj#1&1VazjoLKlx|gI$*as=qJKkl!5}&o%2rnUNg7n7-X?xn296FSaVA+7?>+vV z%mk~XuO3o41y#q*H01qo5PlxMf02W?wkZDq)FT0HbeI1CFVXtul;rxJ%TaTHqi`Ba zq%ubfW(fp@^;DMSYS!Zcn{XOL0sjD84wQNRip2Adz?)z*b^}K6Kp&y`QH#Y*{{Zsp za2d-1a&&%5avGA7LH3 <%= form_for @album, :url => {:action => "create"}, :remote => true do |f| %> <% end %> diff --git a/vendor/built_in_modules/gallery/app/views/panel/gallery/back_end/gallery_categories/index.html.erb b/vendor/built_in_modules/gallery/app/views/panel/gallery/back_end/gallery_categories/index.html.erb index a4f1c8aa..ddc1c989 100644 --- a/vendor/built_in_modules/gallery/app/views/panel/gallery/back_end/gallery_categories/index.html.erb +++ b/vendor/built_in_modules/gallery/app/views/panel/gallery/back_end/gallery_categories/index.html.erb @@ -1,8 +1,7 @@
<%= render :partial => 'category', :collection => @categorylist %>
-
-
+
<%= form_for @new_category, :url => {:action => "create"}, :remote => true do |f| %> <%= f.fields_for :name_translations do |name| %> <% @site_valid_locales.each do |locale| %> @@ -12,7 +11,6 @@ <% end %> <%= f.submit t("gallery.save"), :class=> "btn btn-primary" %> <% end %> -