parent
79c6722aad
commit
08115c9de4
|
@ -685,7 +685,7 @@ module ApplicationHelper
|
||||||
when 2
|
when 2
|
||||||
obj = args.shift
|
obj = args.shift
|
||||||
attr = args.shift
|
attr = args.shift
|
||||||
text = obj.send(attr).html_safe.to_s
|
text = obj.send(attr).to_s
|
||||||
else
|
else
|
||||||
raise ArgumentError, 'invalid arguments to textilizable'
|
raise ArgumentError, 'invalid arguments to textilizable'
|
||||||
end
|
end
|
||||||
|
@ -727,7 +727,7 @@ module ApplicationHelper
|
||||||
when 2
|
when 2
|
||||||
obj = args.shift
|
obj = args.shift
|
||||||
attr = args.shift
|
attr = args.shift
|
||||||
text = obj.send(attr).html_safe.to_s
|
text = obj.send(attr).to_s
|
||||||
else
|
else
|
||||||
raise ArgumentError, 'invalid arguments to textilizable'
|
raise ArgumentError, 'invalid arguments to textilizable'
|
||||||
end
|
end
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<div id='leave-message'>
|
<div id='leave-message'>
|
||||||
<%= render :partial => 'new', :locals => {:bid => @bid, :sta => @state} %>
|
<%= render :partial => 'new', :locals => {:bid => @bid, :sta => @state} %>
|
||||||
</div>
|
</div>
|
||||||
<% label = '';
|
<% label = ''
|
||||||
case @bid.reward_type
|
case @bid.reward_type
|
||||||
when 1
|
when 1
|
||||||
label = l(:label_respond_requirement)
|
label = l(:label_respond_requirement)
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
<table border="0" width="525px" align="center">
|
<table border="0" width="525px" align="center">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="right"> <%= submit_tag l(:button_leave_meassge), :name => nil , :class => "bid_btn", :onmouseout => "this.style.backgroundPosition = 'left top'", :onmouseover => "this.style.backgroundPosition = 'left -31px'"%>
|
<td align="right"> <%= submit_tag l(:button_leave_meassge), :name => nil , :class => "bid_btn", :onmouseout => "this.style.backgroundPosition = 'left top'", :onmouseover => "this.style.backgroundPosition = 'left -31px'"%>
|
||||||
<%= submit_tag l(:button_clear), :name => nil, :onclick => "clearMessage('bid_message_message');", :type => 'button', :class => "bid_btn", :onmouseout => "this.style.backgroundPosition = 'left top'", :onmouseover => "this.style.backgroundPosition = 'left -31px'" %> </td>
|
<%= submit_tag l(:button_clear_meassge), :name => nil, :onclick => "clearMessage('bid_message_message');", :type => 'button', :class => "bid_btn", :onmouseout => "this.style.backgroundPosition = 'left top'", :onmouseover => "this.style.backgroundPosition = 'left -31px'" %> </td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<!-- end -->
|
<!-- end -->
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
<ul class="list-group-item-meta">
|
<ul class="list-group-item-meta">
|
||||||
<div class="issue-list-description">
|
<div class="issue-list-description">
|
||||||
<div class="wiki">
|
<div class="wiki">
|
||||||
<p style="word-break:break-all;width: 100%;"><%= textAreailizable issue, :description %></p>
|
<%= textilizable issue, :description %>
|
||||||
</div>
|
</div>
|
||||||
<!-- <#%= l(:field_description)%>: <#%= issue.short_description %> -->
|
<!-- <#%= l(:field_description)%>: <#%= issue.short_description %> -->
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1415,6 +1415,7 @@ zh:
|
||||||
|
|
||||||
#fq
|
#fq
|
||||||
button_leave_meassge: 留言
|
button_leave_meassge: 留言
|
||||||
|
button_clear_meassge: 清除留言
|
||||||
label_leave_message_to: 给用户 %{name}留言
|
label_leave_message_to: 给用户 %{name}留言
|
||||||
label_leave_message: 留言内容
|
label_leave_message: 留言内容
|
||||||
label_message: 留言板
|
label_message: 留言板
|
||||||
|
|
Loading…
Reference in New Issue