summaryrefslogtreecommitdiffstats
path: root/app/views/journals
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-02-27 13:34:41 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-02-27 13:34:41 +0000
commit262741913119f61eb4ccdd21410e552fdaca159d (patch)
tree76a647109db21853c4fa4fa04335a63fe76a80a4 /app/views/journals
parentca807c8d928497bc8c68310bd852a2b85c83e975 (diff)
downloadredmine-262741913119f61eb4ccdd21410e552fdaca159d.tar.gz
redmine-262741913119f61eb4ccdd21410e552fdaca159d.zip
Keep track of issue description changes (#746).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4954 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/journals')
-rw-r--r--app/views/journals/diff.html.erb10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/journals/diff.html.erb b/app/views/journals/diff.html.erb
new file mode 100644
index 000000000..21b8755e7
--- /dev/null
+++ b/app/views/journals/diff.html.erb
@@ -0,0 +1,10 @@
+<h2><%=h @issue.tracker %> #<%= @issue.id %></h2>
+<p><%= authoring @journal.created_on, @journal.user, :label => :label_updated_time_by %></p>
+
+<div class="text-diff">
+<%= simple_format_without_paragraph @diff.to_html %>
+</div>
+
+<p><%= link_to l(:button_back), issue_path(@issue), :onclick => 'history.back(); return false;' %></p>
+
+<% html_title "#{@issue.tracker.name} ##{@issue.id}: #{@issue.subject}" %>