diff --git a/vendor/built_in_modules/gallery/app/assets/javascripts/galleryAPI.js.erb b/vendor/built_in_modules/gallery/app/assets/javascripts/galleryAPI.js.erb index 0b1c9bb83..856140590 100644 --- a/vendor/built_in_modules/gallery/app/assets/javascripts/galleryAPI.js.erb +++ b/vendor/built_in_modules/gallery/app/assets/javascripts/galleryAPI.js.erb @@ -87,7 +87,7 @@ var galleryAPI = function(){ } this.makeNewAlbum = function(){ $.get("add_album",function(html){ - rcom.modalWindow({loadHtml:html,width:400,"closeBtn":false},function(dom){ + rcom.modalWindow({loadHtml:html,width:400,height:320,"closeBtn":false},function(dom){ dom.find("#album_name_save_btn").click(function(){ var options ={ cid : dom.find("select#category_list").val(), diff --git a/vendor/built_in_modules/gallery/app/assets/stylesheets/gallery.css b/vendor/built_in_modules/gallery/app/assets/stylesheets/gallery.css index 9c71fa015..045e1bc28 100755 --- a/vendor/built_in_modules/gallery/app/assets/stylesheets/gallery.css +++ b/vendor/built_in_modules/gallery/app/assets/stylesheets/gallery.css @@ -537,4 +537,11 @@ .o_gallery .rgbody, .o_album .rgbody { padding: 10px 8px; +} + +#categories .add-album .control-label { + text-align: left; + width: 100px; + padding-left: 12px; + padding-right: 12px; } \ No newline at end of file diff --git a/vendor/built_in_modules/gallery/app/views/panel/gallery/back_end/orbit_galleries/add_album.html.erb b/vendor/built_in_modules/gallery/app/views/panel/gallery/back_end/orbit_galleries/add_album.html.erb index d20aa0867..7af4f761f 100644 --- a/vendor/built_in_modules/gallery/app/views/panel/gallery/back_end/orbit_galleries/add_album.html.erb +++ b/vendor/built_in_modules/gallery/app/views/panel/gallery/back_end/orbit_galleries/add_album.html.erb @@ -1,20 +1,31 @@
Category: +
<%= t("gallery.album_name") %>[<%=t("gallery.english")%>]:
-<%= t("gallery.album_name") %>[<%=t("gallery.chinese")%>]:
-<%= t("gallery.album_desc") %>[<%=t("gallery.english")%>]:
-<%= t("gallery.album_desc") %>[<%=t("gallery.chinese")%>]:
+ +