修改项目留言的显示问题
This commit is contained in:
parent
6498d6913a
commit
2e0502c28e
|
@ -117,10 +117,11 @@
|
|||
<td align="left" width="190px" valign="left"><%=image_tag("/images/sidebar/tool_tag2.png", weight:"15px", height:"15px") %>
|
||||
<%= link_to l(:project_module_boards) ,project_boards_path(@project) %>
|
||||
</td>
|
||||
<% if @project.identifier = 'trustie' %>
|
||||
<% if @project.identifier == 'trustie' %>
|
||||
<td align="left" width="190px" valign="left"><%=image_tag("/images/sidebar/tool_tag2.png", weight:"15px", height:"15px") %>
|
||||
<%= link_to l(:label_user_response) ,project_feedback_path(@project) %>
|
||||
</td>
|
||||
<% else %>
|
||||
<% end %>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -9,11 +9,7 @@
|
|||
<td><table width="580px" border="0">
|
||||
<tr>
|
||||
<td colspan="2" valign="top"><strong> <%=link_to journal.user, user_path(journal.user)%></strong>
|
||||
<% if @user == User.current%>
|
||||
<span class="font_lighter"><%= l(:label_leave_me_message) %></span>
|
||||
<% else %>
|
||||
<span class="font_lighter"><%= l(:label_leave_others_message) %></span>
|
||||
<% end %>
|
||||
<span class="font_lighter">对项目进行了反馈</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
@ -253,7 +253,7 @@ software development and software crowdsourcing.</td></tr>
|
|||
<table border="0" width="525px" align="center" >
|
||||
|
||||
<tr>
|
||||
<td><%= f.text_area 'project_message', :rows => 3, :cols => 65, :value => "#{l(:label_leave_a_message)}", :onfocus => "clearInfo('new_form_project_message','#{l(:label_leave_a_message)}')", :onblur => "showInfo('new_form_project_message','#{l(:label_leave_a_message)}')", :style => "resize: none;", :class => 'noline'%></td>
|
||||
<td><%= f.text_area 'project_message', :rows => 3, :cols => 65, :value => "我要反馈", :onfocus => "clearInfo('new_form_project_message','我要反馈')", :onblur => "showInfo('new_form_project_message','我要反馈')", :style => "resize: none;", :class => 'noline'%></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="0" width="525px" align="center">
|
||||
|
|
Loading…
Reference in New Issue