2013-08-01 10:33:49 +08:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
|
<title><%= h html_title %></title>
|
|
|
|
|
<meta name="description" content="<%= Redmine::Info.app_name %>" />
|
|
|
|
|
<meta name="keywords" content="issue,bug,tracker" />
|
|
|
|
|
<%= csrf_meta_tag %>
|
|
|
|
|
<%= favicon %>
|
|
|
|
|
<%= stylesheet_link_tag 'jquery/jquery-ui-1.9.2', 'application', :media => 'all' %>
|
|
|
|
|
<%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
|
|
|
|
|
<%= javascript_heads %>
|
|
|
|
|
<%= heads_for_theme %>
|
|
|
|
|
<%= call_hook :view_layouts_base_html_head %>
|
|
|
|
|
<!-- page specific tags -->
|
|
|
|
|
<%= yield :header_tags -%>
|
|
|
|
|
</head>
|
|
|
|
|
<body class="<%= h body_css_classes %>">
|
|
|
|
|
<div id="wrapper">
|
|
|
|
|
<div id="wrapper2">
|
|
|
|
|
<div id="wrapper3">
|
2013-08-01 20:38:38 +08:00
|
|
|
|
<%= render :partial => 'layouts/base_header'%>
|
|
|
|
|
|
2013-08-01 10:33:49 +08:00
|
|
|
|
<div id="main" class="">
|
|
|
|
|
<div id="sidebar">
|
|
|
|
|
<div class="main_context">
|
|
|
|
|
<div class="spaceleft">
|
|
|
|
|
<div class="inf_user_image">
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
2013-08-01 20:38:38 +08:00
|
|
|
|
<td align="left" valign="middle"> <%= link_to image_tag(url_to_avatar(@user), :class => "avatar"), user_path(@user), :class => "avatar" %> </td>
|
2013-08-01 10:33:49 +08:00
|
|
|
|
<td>
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="info_font"><%= h @bid.name %></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td> <%= watcher_link(@bid, User.current) %> </td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table></td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>投资人:<%= link_to(@user, user_path(@user))%></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>投资预算:<%= @bid.budget %></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td>投资时限:<%= @bid.deadline%></td>
|
|
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
<div>
|
|
|
|
|
关注 (<%= link_to @bid.watcher_users.count, home_path %>) 应标项目 (<%= link_to @bid.biding_projects.count, home_path %>)反馈(<%= @bid.commit%>)
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-08-01 20:38:38 +08:00
|
|
|
|
<!-- added by william -for tag -->
|
|
|
|
|
<%= render :partial => 'layouts/tag', :locals => {:obj => @bid,:object_flag => "4"}%>
|
|
|
|
|
|
2013-08-01 10:33:49 +08:00
|
|
|
|
<div class="user_fans">
|
|
|
|
|
<div class="font_title_left">
|
|
|
|
|
<strong>关注</strong>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="user_underline"></div>
|
|
|
|
|
<div class="left_wf">
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
2013-08-01 20:38:38 +08:00
|
|
|
|
<td style="padding-top: 5px"> <% for user in @bid.watcher_users%>
|
|
|
|
|
<%= link_to image_tag(url_to_avatar(user), :class => "avatar"), user_path(user), :class => "avatar" %>
|
|
|
|
|
<% end%> </td>
|
2013-08-01 10:33:49 +08:00
|
|
|
|
<tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td align="right"><%= link_to "显示所有关注",home_path %>(<%= link_to @bid.watcher_users.count, home_path %>)</td>
|
|
|
|
|
<tr>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!--粉丝-->
|
|
|
|
|
<div class="user_fans">
|
|
|
|
|
<div class="font_title_left">
|
|
|
|
|
<strong>应标项目</strong>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="user_underline"></div>
|
|
|
|
|
<div class="left_wf">
|
|
|
|
|
<table>
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="padding-top: 5px"><img src="/images/close.png" width="215px" height="130px"/></td>
|
|
|
|
|
<tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td align="right"><%= link_to "显示所有应标项目",home_path %>(<%= link_to @bid.biding_projects.count, home_path %>)</td>
|
|
|
|
|
<tr>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!--扩充-->
|
|
|
|
|
<div class="user_other_model">
|
|
|
|
|
<div class="font_title_left">
|
|
|
|
|
<strong>访客统计</strong>
|
|
|
|
|
</div>
|
|
|
|
|
<hr />
|
|
|
|
|
<tr>
|
|
|
|
|
总访问量:1232
|
|
|
|
|
</tr>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<!-- end -->
|
|
|
|
|
</div>
|
|
|
|
|
<div id="content">
|
|
|
|
|
<% if display_main_menu?(@bid) %>
|
|
|
|
|
<div class="tabs">
|
|
|
|
|
<%= render_menu :bid_menu %>
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
<%= render_flash_messages %>
|
|
|
|
|
<%= yield %>
|
|
|
|
|
<%= call_hook :view_layouts_base_content %>
|
|
|
|
|
<div style="clear:both;"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="ajax-indicator" style="display:none;">
|
|
|
|
|
<span><%= l(:label_loading) %></span>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="ajax-modal" style="display:none;"></div>
|
|
|
|
|
|
|
|
|
|
<div id="footer">
|
|
|
|
|
<div class="bgl">
|
|
|
|
|
<div class="bgr">
|
|
|
|
|
Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> © 2006-2013 Jean-Philippe Lang
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<%= call_hook :view_layouts_base_body_bottom %>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|