Removed IssuesController#history, all changes are now displayed on issues/show (not only the last 15).
Added anchor links to issue notes, eg: /issues/show/1#note-3 git-svn-id: http://redmine.rubyforge.org/svn/trunk@613 e93f8b46-1217-0410-a6f0-8f06a7374b81pull/351/head
parent
64e91b2e13
commit
6862b97909
@ -1,11 +1,13 @@ |
||||
<% note_id = journals.length %> |
||||
<% for journal in journals %> |
||||
<h4><%= format_time(journal.created_on) %> - <%= journal.user.name %></h4> |
||||
<h4><div style="float:right;"><%= link_to "##{note_id}", :anchor => "note-#{note_id}" %></div> |
||||
<%= content_tag('a', '', :name => "note-#{note_id}")%> |
||||
<%= format_time(journal.created_on) %> - <%= journal.user.name %></h4> |
||||
<ul> |
||||
<% for detail in journal.details %> |
||||
<li><%= show_detail(detail) %></li> |
||||
<% end %> |
||||
</ul> |
||||
<% if journal.notes? %> |
||||
<%= textilizable(journal.notes) %> |
||||
<% end %> |
||||
<%= textilizable(journal.notes) unless journal.notes.blank? %> |
||||
<% note_id -= 1 %> |
||||
<% end %> |
||||
|
@ -1,6 +0,0 @@ |
||||
<h3><%=l(:label_history)%></h3> |
||||
<div id="history"> |
||||
<%= render :partial => 'history', :locals => { :journals => @journals } %> |
||||
</div> |
||||
<br /> |
||||
<p><%= link_to l(:button_back), :action => 'show', :id => @issue %></p> |
Loading…
Reference in new issue