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">
|
|
|
|
|
|
|
|
<%=render :partial => 'layouts/base_header'%>
|
|
|
|
|
|
|
|
<div id="main" class="">
|
|
|
|
<div id="sidebar">
|
|
|
|
<div class="main_context">
|
|
|
|
<div class="spaceleft">
|
|
|
|
<div class="inf_user_image">
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td align="left" valign="middle">
|
2013-08-12 21:20:43 +08:00
|
|
|
<%= link_to image_tag(url_to_avatar(@user), :class => "avatar2"), user_path(@user), :class => "avatar" %>
|
2013-08-01 10:33:49 +08:00
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td class="info_font"><%= h @bid.name %></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2013-08-03 22:51:42 +08:00
|
|
|
<td align="center"> <%= watcher_link(@bid, User.current) %> </td>
|
2013-08-01 10:33:49 +08:00
|
|
|
</tr>
|
|
|
|
</table></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table>
|
|
|
|
<tr>
|
2013-08-09 16:30:20 +08:00
|
|
|
<td><%= l(:label_investor) %><%= link_to(@user, user_path(@user))%></td>
|
2013-08-01 10:33:49 +08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2013-08-09 16:30:20 +08:00
|
|
|
<td><%= l(:label_investment_budget) %><%= @bid.budget %></td>
|
2013-08-01 10:33:49 +08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2013-08-09 16:30:20 +08:00
|
|
|
<td><%= l(:label_investment_time_limit) %><%= @bid.deadline%></td>
|
2013-08-01 10:33:49 +08:00
|
|
|
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<div>
|
2013-08-09 16:30:20 +08:00
|
|
|
<%= l(:label_followers) %> (<%= link_to @bid.watcher_users.count, home_path %>) <%= l(:label_bidding_project) %>(<%= link_to @bid.biding_projects.count, project_for_bid_path(@bid) %>) <%=l(:label_responses)%>(<%= link_to @bid.commit, respond_path(@bid)%>)
|
2013-08-01 10:33:49 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-08-01 20:47:00 +08:00
|
|
|
<div class="user_fans">
|
|
|
|
<div class="font_title_left">
|
2013-08-09 16:30:20 +08:00
|
|
|
<strong><%= l(:label_tag) %></strong>
|
2013-08-01 20:47:00 +08:00
|
|
|
</div><div class="user_underline"></div>
|
|
|
|
<table style="font-family:微软雅黑">
|
2013-08-01 10:33:49 +08:00
|
|
|
<tr>
|
2013-08-01 20:47:00 +08:00
|
|
|
<td><!-- added by william -for tag -->
|
2013-08-12 20:18:10 +08:00
|
|
|
<%= render :partial => 'tags/tag', :locals => {:obj => @bid, :object_flag => "4"}%>
|
2013-08-01 20:47:00 +08:00
|
|
|
</td>
|
2013-08-01 10:33:49 +08:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="user_fans">
|
|
|
|
<div class="font_title_left">
|
2013-08-09 16:30:20 +08:00
|
|
|
<strong><%= l(:label_followers) %></strong>
|
2013-08-01 10:33:49 +08:00
|
|
|
</div>
|
|
|
|
<div class="user_underline"></div>
|
|
|
|
<div class="left_wf">
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<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 20:47:00 +08:00
|
|
|
<tr>
|
2013-08-01 10:33:49 +08:00
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!--粉丝-->
|
|
|
|
<div class="user_fans">
|
|
|
|
<div class="font_title_left">
|
2013-08-09 16:30:20 +08:00
|
|
|
<strong><%= l(:label_bidding_project) %></strong>
|
2013-08-01 10:33:49 +08:00
|
|
|
</div>
|
|
|
|
<div class="user_underline"></div>
|
|
|
|
<div class="left_wf">
|
|
|
|
<table>
|
|
|
|
<tr>
|
2013-08-01 20:47:00 +08:00
|
|
|
<td style="padding-top: 5px">
|
|
|
|
<% for project in @bid.projects%>
|
|
|
|
<%= link_to image_tag(url_to_avatar(project), :class => "avatar"), project_path(project), :class => "avatar" %>
|
|
|
|
<% end%></td>
|
|
|
|
<tr>
|
2013-08-01 10:33:49 +08:00
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!--扩充-->
|
2013-08-08 10:04:44 +08:00
|
|
|
|
2013-08-01 10:33:49 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- end -->
|
|
|
|
</div>
|
|
|
|
<div id="content">
|
|
|
|
<% if display_main_menu?(@bid) %>
|
2013-08-05 11:19:53 +08:00
|
|
|
<div class="tabs_new">
|
2013-08-01 10:33:49 +08:00
|
|
|
<%= render_menu :bid_menu %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
2013-08-08 22:27:58 +08:00
|
|
|
|
2013-08-01 10:33:49 +08:00
|
|
|
<%= yield %>
|
|
|
|
<%= call_hook :view_layouts_base_content %>
|
|
|
|
<div style="clear:both;"></div>
|
|
|
|
</div>
|
2013-08-04 09:37:32 +08:00
|
|
|
<%=render :partial => 'layouts/base_footer'%>
|
2013-08-01 10:33:49 +08:00
|
|
|
</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>
|
|
|
|
</div>
|
|
|
|
<%= call_hook :view_layouts_base_body_bottom %>
|
|
|
|
</body>
|
|
|
|
</html>
|