diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-01 13:52:18 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-01 13:52:18 +0000 |
commit | 4e86d82c8ee066be5658af45fd38fcb32924fe39 (patch) | |
tree | 571c42deacca27201e9f613c71c2c5cde56b6d6c /app/views/issues/_history.html.erb | |
parent | 85dfe9eb52a97fdf66e1f8e1cb9ae5906e652877 (diff) | |
download | redmine-4e86d82c8ee066be5658af45fd38fcb32924fe39.tar.gz redmine-4e86d82c8ee066be5658af45fd38fcb32924fe39.zip |
rename .rhtml to .html.erb of app/views/issues/_history.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7010 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issues/_history.html.erb')
-rw-r--r-- | app/views/issues/_history.html.erb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app/views/issues/_history.html.erb b/app/views/issues/_history.html.erb new file mode 100644 index 000000000..9c9f78e71 --- /dev/null +++ b/app/views/issues/_history.html.erb @@ -0,0 +1,21 @@ +<% reply_links = authorize_for('issues', 'edit') -%> +<% for journal in journals %> + <div id="change-<%= journal.id %>" class="<%= journal.css_classes %>"> + <h4><div class="journal-link"><%= link_to "##{journal.indice}", :anchor => "note-#{journal.indice}" %></div> + <%= avatar(journal.user, :size => "24") %> + <%= content_tag('a', '', :name => "note-#{journal.indice}")%> + <%= authoring journal.created_on, journal.user, :label => :label_updated_time_by %></h4> + + <% if journal.details.any? %> + <ul class="details"> + <% for detail in journal.details %> + <li><%= show_detail(detail) %></li> + <% end %> + </ul> + <% end %> + <%= render_notes(issue, journal, :reply_links => reply_links) unless journal.notes.blank? %> + </div> + <%= call_hook(:view_issues_history_journal_bottom, { :journal => journal }) %> +<% end %> + +<% heads_for_wiki_formatter if User.current.allowed_to?(:edit_issue_notes, issue.project) || User.current.allowed_to?(:edit_own_issue_notes, issue.project) %> |