修改需求列表
This commit is contained in:
parent
2f338b352a
commit
d92755f805
|
@ -1,6 +1,6 @@
|
|||
<!-- fq -->
|
||||
|
||||
<!-- <% bids.each do |bid|%>
|
||||
<% bids.each do |bid|%>
|
||||
|
||||
<table width="95%" border="0" style="padding-left: 10px; padding-top: 10px;">
|
||||
<tr>
|
||||
|
@ -13,17 +13,17 @@
|
|||
<tr>
|
||||
<td width="500">
|
||||
<table border="0">
|
||||
<tr>
|
||||
<tr><td>
|
||||
<% if bid.reward_type.nil? or bid.reward_type == 1%>
|
||||
<td style="color: rgb(255, 0, 0);"><strong><%= l(:label_price) %><%= l(:label_RMB_sign) %><%= bid.budget%></strong></td>
|
||||
<% elsif bid.reward_type == 2%>
|
||||
<td style="color: #15bccf;"><strong><%= l(:label_reward) %><%= bid.budget%></strong></td>
|
||||
<% else %>
|
||||
<td style="color: rgb(60, 180, 30);"><strong><%= l(:label_grade) %><%= bid.budget%></strong></td>
|
||||
<% end %>
|
||||
<td class="font_lighter">(<%= link_to bid.biding_projects.count, project_for_bid_path(bid)%>)<%= l(:label_biding_project) %></td>
|
||||
<td class="font_lighter">(<%= link_to bid.commit, respond_path(bid)%>)<%= l(:label_responses) %></td>
|
||||
<td class="font_lighter">(<%= link_to bid.watcher_users.count, respond_path(bid)%>)<%= l(:label_followers) %></td>
|
||||
<strong>奖励方式:<span style="color: rgb(255, 0, 0);font-family: 14px; font-family: 微软雅黑">奖金 <%= bid.budget%><%= l(:label_RMB_sign) %></span></strong>
|
||||
<% elsif bid.reward_type == 2%>
|
||||
<strong>奖励方式:<span style="color: #15bccf;font-family: 14px; font-family: 微软雅黑"><%= bid.budget%></span></strong>
|
||||
<% else %>
|
||||
<strong>奖励方式:<span style="color: #ed8924;font-family: 14px; font-family: 微软雅黑">学分 <%= bid.budget%>分</span></strong>
|
||||
<% end %>
|
||||
<span class="font_lighter">(<%= link_to bid.biding_projects.count, project_for_bid_path(bid)%>)<%= l(:label_biding_project) %></span>
|
||||
<span class="font_lighter">(<%= link_to bid.commit, respond_path(bid)%>)<%= l(:label_responses) %></span>
|
||||
<span class="font_lighter">(<%= link_to bid.watcher_users.count, respond_path(bid)%>)<%= l(:label_followers) %></span></td>
|
||||
</tr>
|
||||
</table></td>
|
||||
<td width="200" align="right" class="a"><span class="font_lighter"> <%= format_time bid.created_on %></span></td>
|
||||
|
@ -46,10 +46,10 @@
|
|||
<ul>
|
||||
<%= pagination_links_full bid_pages %>
|
||||
<ul>
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
<!--new-->
|
||||
<% bids.each do |bid|%>
|
||||
<!-- <% bids.each do |bid|%>
|
||||
<table width="98%" border="0" style="padding-left: 20px; padding-top: 10px;">
|
||||
<tr>
|
||||
<td valign="top" width="50px"><%= link_to(image_tag(url_to_avatar(bid.author), :class => 'avatar'), user_path(bid.author), :class => "avatar") %></td>
|
||||
|
@ -98,4 +98,4 @@
|
|||
<ul>
|
||||
<%= pagination_links_full bid_pages %>
|
||||
<ul>
|
||||
</div>
|
||||
</div> -->
|
|
@ -143,7 +143,7 @@ function buildFilterRow(field, operator, values) {
|
|||
case "list_subprojects":
|
||||
tr.find('td.values').append(
|
||||
'<span style="display:none;"><select class="value" id="values_'+fieldId+'_1" name="v['+field+'][]"></select>' +
|
||||
' <span class="toggle-multiselect"> </span></span>'
|
||||
' <span class="toggle-multiselect"><a>复选/multi-select</a></span></span>'
|
||||
);
|
||||
select = tr.find('td.values select');
|
||||
if (values.length > 1) { select.attr('multiple', true); }
|
||||
|
|
|
@ -1043,7 +1043,7 @@ fieldset#filters td.values select {min-width:130px;}
|
|||
fieldset#filters td.values input {height:1em;}
|
||||
fieldset#filters td.add-filter { text-align: right; vertical-align: top; }
|
||||
|
||||
.toggle-multiselect {background: url(../images/bullet_toggle_plus.png) no-repeat 0% 40%; padding-left:8px; margin-left:0; cursor:pointer;}
|
||||
.toggle-multiselect {/*background: url(../images/bullet_toggle_plus.png)*/ no-repeat 0% 40%; padding-left:8px; margin-left:0; cursor:pointer;}
|
||||
.buttons { font-size: 0.9em; margin-bottom: 1.4em; margin-top: 1em; }
|
||||
|
||||
div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
|
||||
|
|
Loading…
Reference in New Issue