Project

General

Profile

Feature #42598 » 0002-Reorder-Also-available-in-links-to-place-Atom-at-the.patch

Go MAEDA, 2025-05-01 10:48

View differences:

app/views/issues/index.html.erb
35 35
<% end %>
36 36

  
37 37
<% other_formats_links do |f| %>
38
  <%= f.link_to_with_query_parameters 'Atom', :key => User.current.atom_key %>
39 38
  <%= f.link_to_with_query_parameters 'CSV', {}, :onclick => "showModal('csv-export-options', '350px'); return false;" %>
40 39
  <%= f.link_to_with_query_parameters 'PDF' %>
40
  <%= f.link_to_with_query_parameters 'Atom', :key => User.current.atom_key %>
41 41
<% end %>
42 42

  
43 43
<div id="csv-export-options" style="display:none;">
app/views/issues/show.html.erb
132 132
<%= render partial: 'action_menu_edit' unless User.current.wants_comments_in_reverse_order? %>
133 133

  
134 134
<% other_formats_links do |f| %>
135
  <%= f.link_to 'Atom', :url => {:key => User.current.atom_key} %>
136 135
  <%= f.link_to 'PDF' %>
136
  <%= f.link_to 'Atom', :url => {:key => User.current.atom_key} %>
137 137
<% end %>
138 138

  
139 139
<% html_title "#{@issue.tracker.name} ##{@issue.id}: #{@issue.subject}" %>
app/views/projects/index.html.erb
31 31
<% end %>
32 32

  
33 33
<% other_formats_links do |f| %>
34
  <%= f.link_to 'Atom', :url => {:key => User.current.atom_key} %>
35 34
  <% if @query.display_type == 'list' %>
36 35
    <%= f.link_to_with_query_parameters 'CSV', {}, :onclick => "showModal('csv-export-options', '350px'); return false;" %>
37 36
  <% end %>
37
  <%= f.link_to 'Atom', :url => {:key => User.current.atom_key} %>
38 38
<% end %>
39 39

  
40 40
<% html_title(l(:label_project_plural)) -%>
app/views/timelog/index.html.erb
29 29
<span class="pagination"><%= pagination_links_full @entry_pages, @entry_count %></span>
30 30

  
31 31
<% other_formats_links do |f| %>
32
  <%= f.link_to_with_query_parameters 'Atom', :key => User.current.atom_key %>
33 32
  <%= f.link_to_with_query_parameters 'CSV', {}, :onclick => "showModal('csv-export-options', '330px'); return false;" %>
33
  <%= f.link_to_with_query_parameters 'Atom', :key => User.current.atom_key %>
34 34
<% end %>
35 35

  
36 36
<div id="csv-export-options" style="display:none;">
app/views/wiki/date_index.html.erb
29 29

  
30 30
<% unless @pages.empty? %>
31 31
<% other_formats_links do |f| %>
32
  <%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :key => User.current.atom_key} %>
33 32
  <% if User.current.allowed_to?(:export_wiki_pages, @project) %>
34 33
  <%= f.link_to('PDF', :url => {:action => 'export', :format => 'pdf'}) %>
35 34
  <%= f.link_to('HTML', :url => {:action => 'export'}) %>
36 35
  <% end %>
36
  <%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_wiki_edits => 1, :key => User.current.atom_key} %>
37 37
<% end %>
38 38
<% end %>
39 39

  
app/views/wiki/index.html.erb
22 22

  
23 23
<% unless @pages.empty? %>
24 24
<% other_formats_links do |f| %>
25
  <%= f.link_to 'Atom',
26
                :url => {:controller => 'activities', :action => 'index',
27
                         :id => @project, :show_wiki_edits => 1,
28
                         :key => User.current.atom_key} %>
29 25
  <% if User.current.allowed_to?(:export_wiki_pages, @project) %>
30 26
  <%= f.link_to('PDF', :url => {:action => 'export', :format => 'pdf'}) %>
31 27
  <%= f.link_to('HTML', :url => {:action => 'export'}) %>
32 28
  <% end %>
29
  <%= f.link_to 'Atom',
30
                :url => {:controller => 'activities', :action => 'index',
31
                         :id => @project, :show_wiki_edits => 1,
32
                         :key => User.current.atom_key} %>
33 33
<% end %>
34 34
<% end %>
35 35

  
(2-2/2)