update backend news image size

This commit is contained in:
nccu 2014-11-13 11:08:43 +08:00
parent 636776d342
commit f884511eef
1 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@
<% if @news_bulletin.image.file %> <% if @news_bulletin.image.file %>
<%= image_tag @news_bulletin.image %> <%= image_tag @news_bulletin.image %>
<% else %> <% else %>
<img src="http://www.placehold.it/200x100/EFEFEF/AAAAAA" /> <img src="http://www.placehold.it/400x200/EFEFEF/AAAAAA" />
<% end %> <% end %>
</div> </div>
<div class="fileupload-preview fileupload-exists thumbnail pull-left"></div> <div class="fileupload-preview fileupload-exists thumbnail pull-left"></div>
@ -147,7 +147,7 @@
<div class="fileupload-alert alert alert-danger text-center" role="alert"></div> <div class="fileupload-alert alert alert-danger text-center" role="alert"></div>
<div class="image_note" style="color:red; font-size:14px;"> <div class="image_note" style="color:red; font-size:14px;">
<br /> <br />
※<%= t("ad.widget_info_for_ad_image_size", :best_size=> "( 200px x 100px )") %> ※<%= t("ad.widget_info_for_ad_image_size", :best_size=> "( 400px x 200px )") %>
<br /> <br />
※<%= t("news.image_size_limit")%> ※<%= t("news.image_size_limit")%>
<br /> <br />