You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
1.9 KiB
78 lines
1.9 KiB
<style>
|
|
.softapplication-img .soft-application {
|
|
float: left;
|
|
width: 25%;
|
|
height: 200px;
|
|
}
|
|
</style>
|
|
|
|
|
|
<p id="notice"><%= notice %></p>
|
|
|
|
<%= image_tag(url_to_avatar(@user), :class => "avatar2") %>
|
|
<div style="height: 120px">
|
|
<tr>
|
|
<td colspan="2" valign="top" width="50" >
|
|
</td>
|
|
<td>
|
|
<table width="100%" border="0">
|
|
<tr style="font-size: 18px">
|
|
<td colspan="3" valign="top"><strong><%= @softapplication.name %></strong></td>
|
|
</tr>
|
|
<tr>
|
|
<td>所属类别:<%= @softapplication.app_type_name %></td>
|
|
<td>发布时间:<%=format_time @softapplication.created_at %></span></td>
|
|
</tr>
|
|
<tr>
|
|
<td>开发者:<%= @softapplication.user.name %></td>
|
|
<td>系统支持:<%= @softapplication.android_min_version_available %></td>
|
|
</tr>
|
|
|
|
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</div>
|
|
<div class="underline-contests_one"></div>
|
|
|
|
<div style="height: 100px">
|
|
<div style="font-size: 15px">应用简介:</div>
|
|
<div><%= @softapplication.description %></div>
|
|
</div>
|
|
<div class="underline-contests_one"></div>
|
|
|
|
<div style="height: 180px">
|
|
<div style="font-size: 15px">软件截图:</div>
|
|
<div class="softapplication-img">
|
|
<% @image_results.take(4).each do |attachment| %>
|
|
<%= link_to_attachment_img attachment, :class => "soft-application", :download => "true" %>
|
|
<% end %>
|
|
</div>
|
|
<div style='clear :left;'></div>
|
|
</div>
|
|
|
|
<div class="underline-contests_one"></div>
|
|
|
|
<div style="height: 120px">
|
|
<div style="font-size: 15px">软件评论:</div>
|
|
<div></div>
|
|
</div>
|
|
|
|
<!--提示登录后对应用进行评价-->
|
|
<div id="history">
|
|
<%= render :partial => 'message_history', :locals => { :contest => @softapplication, :journals => @jour, :state => false} %>
|
|
</div>
|
|
|
|
<!--分页-->
|
|
<div class="pagination" style="float:left;">
|
|
<ul>
|
|
<%= pagination_links_full @feedback_pages %>
|
|
</ul>
|
|
</div>
|
|
|
|
|
|
<div>
|
|
<%= link_to 'Edit', edit_softapplication_path(@softapplication) %> |
|
|
<%= link_to 'Back', softapplications_path %>
|
|
</div>
|