修改用户主页中没内容显示时的页面

This commit is contained in:
fanqiang 2013-08-13 00:02:12 +08:00
parent 54fa3e5325
commit a9cfeb6a9a
3 changed files with 12 additions and 7 deletions

View File

@ -2,7 +2,7 @@
<h3><%= issue_heading(@issue) %></h3>
<style type="text/css"></style>>
<style type="text/css"></style>
<div class="<%= @issue.css_classes %> details">
<% if @prev_issue_id || @next_issue_id %>

View File

@ -45,9 +45,12 @@
</table>
<% end %>
</div>
<% end %>
<div class="pagination" style="float:left;">
<ul>
<%= pagination_links_full @info_pages %>
<ul>
</div>
<% else %>
暂无任何用户对您进行反馈
<% end %>

View File

@ -1,18 +1,17 @@
<!-- fq -->
<table width="200px" border="0" style="padding-left: 10px; margin-bottom: 15px;">
</table>
<% if @bid.size > 0%>
<% for bid in @bid%>
<table width="90%" border="0" align="center" style="border-bottom: 1px dashed rgb(204, 204, 204); margin-bottom: 10px;">
<table width="90%" border="0" align="center" style="border-bottom: 1px dashed rgb(204, 204, 204); margin-bottom: 10px; margin-top: 30px;">
<tr>
<td colspan="2" valign="top" width="50" ><%= link_to image_tag(url_to_avatar(bid.author), :class => 'avatar'), :class => "avatar" %></td>
<td>
<table width="100%" border="0">
<tr>
<td colspan="2" valign="top"><strong><%= link_to(bid.author, user_path(bid.author), :class => 'bid_user') %>:<%= link_to(bid.name, respond_path(bid), :class => 'bid_path') %></strong></td>
<td colspan="2" valign="top"><strong><%= link_to(bid.author, user_path(bid.author), :class => 'bid_user') %>:&nbsp;<%= link_to(bid.name, respond_path(bid), :class => 'bid_path') %></strong></td>
</tr>
<tr>
<td width="500">
@ -46,4 +45,7 @@
<ul>
<%= pagination_links_full @bid_pages %>
<ul>
</div>
</div>
<% else %>
暂未关注任何需求
<% end %>