加入了对问题列表和问题主页的顶、踩功能;

另外遗留了tag搜索页面的显示问题待解决。
This commit is contained in:
william 2013-08-14 12:49:26 +08:00
parent 92bc517350
commit a11b1676ff
2 changed files with 5 additions and 2 deletions

View File

@ -74,6 +74,7 @@
<% column_content = ( query.inline_columns.map {|column| "#{column_content_new(column, issue)}"}) %>
<!-- 在这里添加赞和踩-->
<span id="praise_tread" style="float: right"> <%= render :partial => "/praise_tread/praise_tread",:locals => {:obj => issue,:show_flag => true,:user_id =>User.current.id}%> </span>
<% if issue.tracker.name == 'Bug' %>
<%= image_tag("/images/task.png", :class => "img-tag-issues") %>

View File

@ -28,7 +28,9 @@
</div>
<!-- 顶和踩 在这里添加 -->
<span id="praise_tread" style="float: right">
<%= render :partial => "/praise_tread/praise_tread",:locals => {:obj => @issue,:show_flag => true,:user_id =>User.current.id}%>
</span>
<p class="author">
<%= authoring @issue.created_on, @issue.author %>.