调整主页显示图片大小

competition
z9hang 11 years ago
parent 5a0d76c1e0
commit 34626e03a4

@ -37,9 +37,9 @@
<div style="float: left">
<!-- <#%= image_tag(get_project_avatar(@first_page), size: "75x75") %> -->
<% if get_avatar?(@first_page) %>
<%= image_tag(url_to_avatar(@first_page), size: "75x75") %>
<%= image_tag(url_to_avatar(@first_page), size: "130x75") %>
<% else %>
<%= image_tag '/images/transparent.png', size: "75x75" %>
<%= image_tag '/images/transparent.png', size: "130x75" %>
<% end %>
</div>

Loading…
Cancel
Save