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,29 @@
|
|||
<% html_title l(:label_questions) %>
|
||||
<div class="contextual">
|
||||
<%= link_to(l(:label_questions_new),
|
||||
{:controller => 'questions', :action => 'new', :section_id => @section},
|
||||
:class => 'icon icon-add') if User.current.allowed_to?(:add_questions, @project) %>
|
||||
</div>
|
||||
|
||||
|
||||
<h2 class=""><%= l(:label_questions) %></h2>
|
||||
<div class="filters">
|
||||
<%= form_tag({:controller => "questions", :action => "index"}, :method => :get, :id => "query_form") do %>
|
||||
<%= text_field_tag(:topic_search, params[:topic_search], :autocomplete => "off", :class => "questions-search", :placeholder => l(:label_questions_search) ) %>
|
||||
<%= javascript_tag "observeSearchfield('topic_search', 'forum_list', '#{ escape_javascript(autocomplete_for_subject_questions_path(:project_id => @project, :section_id => @section)) }')" %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<div id="forum_list">
|
||||
<%= render :partial => 'tiles' %>
|
||||
</div>
|
||||
|
||||
<% content_for :sidebar do %>
|
||||
<%= render :partial => "questions/latest_topics" %>
|
||||
<%= render :partial => "questions/popular_topics" %>
|
||||
<% end %>
|
||||
|
||||
<% content_for :header_tags do %>
|
||||
<%= javascript_include_tag :questions, :plugin => 'redmine_questions' %>
|
||||
<% end %>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue