添加了2个rb文件 tags/_pagination.html.erb,tags/_sidebar_tags.html.erb
This commit is contained in:
parent
0c22d409fc
commit
638c74b177
|
@ -0,0 +1,5 @@
|
|||
<div class="pagination" style="float:right;">
|
||||
<%=
|
||||
pagination_links_full obj_pages,:per_page_links => false
|
||||
%>
|
||||
</div>
|
|
@ -0,0 +1,10 @@
|
|||
<% case show_flag%>
|
||||
<% when '1' then %>
|
||||
(<%= User.tagged_with("#{sg}").size %>)
|
||||
<%when '2' then %>
|
||||
(<%= Project.tagged_with(sg).size %>)
|
||||
<% when '3' then %>
|
||||
(<%= Issue.tagged_with("#{sg}").size %>)
|
||||
<% when '4' then %>
|
||||
(<%= Bid.tagged_with("#{sg}").size %>)
|
||||
<% end %>
|
Loading…
Reference in New Issue