##// END OF EJS Templates
Option for long text custom fields to be displayed under the description field (#21705)....
Option for long text custom fields to be displayed under the description field (#21705). Based on patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16251 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r15837:d10ab869a743
r15869:b40d66f39fa8
Show More
index.html.erb
49 lines | 2.1 KiB | text/plain | TextLexer
Jean-Philippe Lang
Adds missing native eol properties....
r2781 <div class="contextual">
Jean-Philippe Lang
Enable global time logging at /time_entries/new (#10020)....
r8571 <%= link_to l(:button_log_time),
Jean-Philippe Lang
Removes routes for time entries nested under project/issues....
r13060 _new_time_entry_path(@project, @issue),
Jean-Philippe Lang
Enable global time logging at /time_entries/new (#10020)....
r8571 :class => 'icon icon-time-add' if User.current.allowed_to?(:log_time, @project, :global => true) %>
Jean-Philippe Lang
Adds missing native eol properties....
r2781 </div>
Jean-Philippe Lang
Makes spent time queries savable (#14790)....
r15257 <h2><%= @query.new_record? ? l(:label_spent_time) : @query.name %></h2>
Jean-Philippe Lang
Adds missing native eol properties....
r2781
Jean-Philippe Lang
Remove special behaviour for listing issue time entries, use a filter for that....
r15262 <%= form_tag(_time_entries_path(@project, nil), :method => :get, :id => 'query_form') do %>
Jean-Philippe Lang
Adds missing native eol properties....
r2781 <%= render :partial => 'date_range' %>
<% end %>
Jean-Philippe Lang
Show message for empty results on time entries....
r15381 <% if @entries.empty? %>
<p class="nodata"><%= l(:label_no_data) %></p>
<% else %>
Jean-Philippe Lang
Make time entries groupable (#16843)....
r15267 <%= render_query_totals(@query) %>
Jean-Philippe Lang
Adds missing native eol properties....
r2781 <%= render :partial => 'list', :locals => { :entries => @entries }%>
Jean-Philippe Lang
Use ul tags to do pagination (#21258)....
r14515 <span class="pagination"><%= pagination_links_full @entry_pages, @entry_count %></span>
Jean-Philippe Lang
Adds missing native eol properties....
r2781
<% other_formats_links do |f| %>
Jean-Philippe Lang
Don't generate urls with params....
r15249 <%= f.link_to_with_query_parameters 'Atom', :key => User.current.rss_key %>
<%= f.link_to_with_query_parameters 'CSV', {}, :onclick => "showModal('csv-export-options', '330px'); return false;" %>
Jean-Philippe Lang
Adds missing native eol properties....
r2781 <% end %>
Jean-Philippe Lang
Makes all time entry columns available in the CSV export....
r11212
<div id="csv-export-options" style="display:none;">
<h3 class="title"><%= l(:label_export_options, :export_format => 'CSV') %></h3>
Jean-Philippe Lang
Use named route....
r15291 <%= form_tag(_time_entries_path(@project, nil, :format => 'csv'), :method => :get, :id => 'csv-export-form') do %>
<%= query_as_hidden_field_tags @query %>
Jean-Philippe Lang
Makes all time entry columns available in the CSV export....
r11212 <p>
Jean-Philippe Lang
Handle csv columns selection in query to preload appropriate associations (#24865)....
r15837 <label><%= radio_button_tag 'c[]', '', true %> <%= l(:description_selected_columns) %></label><br />
<label><%= radio_button_tag 'c[]', 'all_inline' %> <%= l(:description_all_columns) %></label>
Jean-Philippe Lang
Makes all time entry columns available in the CSV export....
r11212 </p>
<p class="buttons">
<%= submit_tag l(:button_export), :name => nil, :onclick => "hideModal(this);" %>
<%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %>
</p>
<% end %>
</div>
Jean-Philippe Lang
Adds missing native eol properties....
r2781 <% end %>
Jean-Philippe Lang
Display the list of saved queries in the sidebar (#14790)....
r15260 <% content_for :sidebar do %>
<%= render_sidebar_queries(TimeEntryQuery, @project) %>
<% end %>
Jean-Philippe Lang
Makes spent time queries savable (#14790)....
r15257 <% html_title(@query.new_record? ? l(:label_spent_time) : @query.name, l(:label_details)) %>
Jean-Philippe Lang
Adds missing native eol properties....
r2781
<% content_for :header_tags do %>
<%= auto_discovery_link_tag(:atom, {:issue_id => @issue, :format => 'atom', :key => User.current.rss_key}, :title => l(:label_spent_time)) %>
<% end %>