patch_01.patch

Mikhail Varabyou, 2016-08-05 12:41

Download (1.64 KB)

View differences:

app/views/issues/show.html.erb (revision )
118 118
</div>
119 119
<% end %>
120 120

  
121
<%= render partial: 'action_menu_edit' if User.current.wants_comments_in_reverse_order? %>
122

  
121 123
<% if @journals.present? %>
122 124
<div id="history">
123 125
<h3><%=l(:label_history)%></h3>
......
125 127
</div>
126 128
<% end %>
127 129

  
128

  
129
<div style="clear: both;"></div>
130
<%= render :partial => 'action_menu' %>
131

  
132
<div style="clear: both;"></div>
133
<% if @issue.editable? %>
134
  <div id="update" style="display:none;">
135
  <h3><%= l(:button_edit) %></h3>
136
  <%= render :partial => 'edit' %>
137
  </div>
138
<% end %>
130
<%= render partial: 'action_menu_edit' unless User.current.wants_comments_in_reverse_order? %>
139 131

  
140 132
<% other_formats_links do |f| %>
141 133
  <%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
app/views/issues/_action_menu_edit.html.erb (revision )
1
<div style="clear: both;"></div>
2
<%= render :partial => 'action_menu' %>
3

  
4
<div style="clear: both;"></div>
5
<% if @issue.editable? %>
6
  <div id="update" style="display:none;">
7
    <h3><%= l(:button_edit) %></h3>
8
    <%= render :partial => 'edit' %>
9
  </div>
10
<% end %>