Actualizado plugin Redmine Questions 1.0.0 light
This commit is contained in:
parent
27e60f8ec1
commit
5d7889f1c9
140 changed files with 5342 additions and 1430 deletions
|
@ -0,0 +1,18 @@
|
|||
<%
|
||||
@popular_topics = Question.
|
||||
visible.
|
||||
in_project(@project).
|
||||
in_section(@section).
|
||||
positive.
|
||||
by_views.
|
||||
by_votes.
|
||||
limit(5)
|
||||
%>
|
||||
<h3><%= l(:label_questions_most_popular) %></h3>
|
||||
<ul class="related-topics">
|
||||
<% @popular_topics.each do |question| %>
|
||||
<li class="related-topic">
|
||||
<%= link_to h(question.subject), { :controller => 'questions', :action => 'show', :section_id => question.section, :id => question } %>
|
||||
</li>
|
||||
<% end unless @popular_topics.blank? %>
|
||||
</ul>
|
Loading…
Add table
Add a link
Reference in a new issue