动态中显示更新项目缺陷样式异常

dev_repository_hjq
whimlex 10 years ago
parent 05712c4c06
commit ab93d19b56

@ -45,7 +45,7 @@
<% (Rails.logger.error "[Error] =========================================================> NameError: uninitialized constant " + e.act_type.to_s; next;) if e.act_type.safe_constantize.nil? %>
<% act = e.act %>
<% unless act.nil? %>
<% if e.act_type == 'JournalsForMessage' || e.act_type == 'Bid' || e.act_type == 'Journal'|| e.act_type == 'Changeset' || e.act_type == 'Message' || e.act_type == 'Principal' || e.act_type == 'News' || e.act_type == 'Issue' || e.act_type == 'Contest'%>
<% if e.act_type == 'JournalsForMessage' || e.act_type == 'Bid' || e.act_type == 'Journal'|| e.act_type == 'Changeset' || e.act_type == 'Message' || e.act_type == 'Principal' || e.act_type == 'News' || e.act_type == 'Issue' || e.act_type == 'Contest' %>
<table width="660" border="0" align="left" style="border-bottom: 1px dashed rgb(204, 204, 204); margin-bottom: 10px;font-size:14px;">
<tr>
@ -101,9 +101,10 @@
<p class="font_description">
<%= textAreailizable act.notes %>
</p>
<div style="display: inline-block; float: right; margin-top: 0px">
<span>
<% puts 11111111111111%>
<% puts 11111111111111 %>
<%= user_jour_feed_back_url e %>
</span>
</div>
@ -121,7 +122,7 @@
</tr>
<% when 'Bid' %>
<tr>
<% if act.reward_type == 3 && @show_course == 1%>
<% if act.reward_type == 3 && @show_course == 1 %>
<% if e.user == User.current %>
<td colspan="2" valign="top">
<strong>
@ -170,7 +171,7 @@
<tr>
<td colspan="2" width="580" class="upload_img">
<p class="font_description">
<%=textAreailizable act, :description %>
<%= textAreailizable act, :description %>
</p></td>
</tr>
<tr>
@ -285,7 +286,7 @@
<tr>
<td colspan="2" width="580" class="upload_img">
<p class="font_description">
<%= textAreailizable act,:long_comments %>
<%= textAreailizable act, :long_comments %>
</p>
</td>
</tr>
@ -302,7 +303,7 @@
:action => 'revision',
:id => act.repository.project,
:repository_id => act.repository.identifier_param,
:rev => act.identifier} if e.act.count!= 0%>
:rev => act.identifier} if e.act.count!= 0 %>
</span>
<a class="font_lighter">
<%= l(:label_comments_count, :count => e.act.count) %>
@ -347,7 +348,7 @@
<tr>
<td colspan="2" width="580" class="upload_img">
<p class="font_description">
<%= textAreailizable(act,:content) %>
<%= textAreailizable(act, :content) %>
</p>
</td>
</tr>
@ -431,7 +432,7 @@
<tr>
<td colspan="2" width="580" class="upload_img">
<p class="font_description">
<%= textAreailizable act,:description %>
<%= textAreailizable act, :description %>
</p>
</td>
</tr>
@ -444,7 +445,7 @@
</div>
<div style="display: inline-block; float: right; margin-top: 0px">
<span>
<%= link_to l(:label_find_all_comments), {:controller => 'news', :action => 'show', :id => act.id} if e.act.comments_count!= 0%>
<%= link_to l(:label_find_all_comments), {:controller => 'news', :action => 'show', :id => act.id} if e.act.comments_count!= 0 %>
</span>
<a class="font_lighter">
<%= l(:label_comments_count, :count => e.act.comments_count) %>
@ -533,7 +534,7 @@
<% when 'Contest' %>
<tr>
<% if e.user == User.current && @show_contest == 1%>
<% if e.user == User.current && @show_contest == 1 %>
<td colspan="2" valign="top">
<strong>
<%= link_to("#{l(:label_i)}", user_path(e.user_id)) %>

@ -118,7 +118,7 @@ zh:
label_goto: "前往»"
label_activity_project: "项目:"
label_activity_project: 项目
label_active_call: 需求
label_active_homework: 作业
# 评论在commons模块下

Loading…
Cancel
Save