diff --git a/app/views/bids/_bid_show.html.erb b/app/views/bids/_bid_show.html.erb index 534e84a12..68d221886 100644 --- a/app/views/bids/_bid_show.html.erb +++ b/app/views/bids/_bid_show.html.erb @@ -13,19 +13,25 @@ - - -
-<% if bid.reward_type.nil? or bid.reward_type == 1%> +
+ <% if bid.reward_type.nil? or bid.reward_type == 1%> <%= l(:label_bids_reward_method) %><%= l(:label_call_bonus) %> <%= l(:label_RMB_sign) %><%= bid.budget%> <% elsif bid.reward_type == 2%> <%= l(:label_bids_reward_method) %><%= bid.budget%> <% else %> <%= l(:label_bids_reward_method) %><%= l(:label_bids_credit) %> <%= bid.budget%> <%= l(:label_bids_credit_number) %> <% end %> -(<%= link_to bid.biding_projects.count, project_for_bid_path(bid)%>)<%= l(:label_biding_project) %> -(<%= link_to bid.commit, respond_path(bid)%>)<%= l(:label_responses) %> -(<%= link_to bid.watcher_users.count, respond_path(bid)%>)<%= l(:label_followers) %>
+ + + + + + <%= l(:label_biding_project) %>(<%=link_to bid.biding_projects.count, project_for_bid_path(bid) %>) + <%= l(:label_responses) %>(<%=link_to bid.commit, respond_path(bid) %>) + <%= l(:label_followers) %>(<%=link_to bid.watcher_users.count, respond_path(bid) %>) + + + <%= format_time bid.created_on %> diff --git a/app/views/users/watch_bids.html.erb b/app/views/users/watch_bids.html.erb index d142411ac..b12c03c10 100644 --- a/app/views/users/watch_bids.html.erb +++ b/app/views/users/watch_bids.html.erb @@ -23,12 +23,16 @@ <%= l(:label_bids_reward_method) %><%= bid.budget%> <% else %> <%= l(:label_bids_reward_method) %><%= l(:label_bids_credit) %> <%= bid.budget%> <%= l(:label_bids_credit_number) %> - <% end %> + <% end %> - (<%= bid.biding_projects.count%>)<%= l(:label_biding_project) %> - (<%= bid.commit %>)<%= l(:label_responses) %> - (<%= bid.watcher_users.count%>)<%= l(:label_followers) %> + + + + <%= l(:label_biding_project) %>(<%=link_to bid.biding_projects.count, project_for_bid_path(bid) %>) + <%= l(:label_responses) %>(<%=link_to bid.commit, respond_path(bid) %>) + <%= l(:label_followers) %>(<%=link_to bid.watcher_users.count, respond_path(bid) %>) + <%= format_time bid.created_on %>