diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-08-18 15:01:35 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-08-18 15:01:35 +0000 |
commit | 1f8d396e3f12ec177fec0dea6a4a7c39c00fe496 (patch) | |
tree | 1ddd1116f61d95f4b18a5c6088fb35eb6e5e6dd0 /app/views/previews | |
parent | 3eff27344b0bef7703ba248d0a2312bfca95c182 (diff) | |
download | redmine-1f8d396e3f12ec177fec0dea6a4a7c39c00fe496.tar.gz redmine-1f8d396e3f12ec177fec0dea6a4a7c39c00fe496.zip |
Refactor: move IssuesController#preview to a new controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3946 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/previews')
-rw-r--r-- | app/views/previews/issue.html.erb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/previews/issue.html.erb b/app/views/previews/issue.html.erb new file mode 100644 index 000000000..23772859e --- /dev/null +++ b/app/views/previews/issue.html.erb @@ -0,0 +1,11 @@ +<% if @notes %> + <fieldset class="preview"><legend><%= l(:field_notes) %></legend> + <%= textilizable @notes, :attachments => @attachements, :object => @issue %> + </fieldset> +<% end %> + +<% if @description %> + <fieldset class="preview"><legend><%= l(:field_description) %></legend> + <%= textilizable @description, :attachments => @attachements, :object => @issue %> + </fieldset> +<% end %> |