]> source.dussan.org Git - redmine.git/commit
Displays thumbnails of attached images of the issue view (#1006).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 7 Jul 2012 13:48:07 +0000 (13:48 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 7 Jul 2012 13:48:07 +0000 (13:48 +0000)
commita0c495b953b84d90f5c87f089eaefbf310b9dfeb
tree80206825ef5f1674b9330aa2688e3bb0d3c48f24
parentb0bd50620195b19dcc1b7f2f82de73fceaa13692
Displays thumbnails of attached images of the issue view (#1006).

This behaviour can be turned on/off in Settings -> Display (off by default). Thumbnail size can be configured there too.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9933 e93f8b46-1217-0410-a6f0-8f06a7374b81
20 files changed:
app/controllers/attachments_controller.rb
app/helpers/application_helper.rb
app/helpers/attachments_helper.rb
app/models/attachment.rb
app/views/attachments/_links.html.erb
app/views/issues/show.html.erb
app/views/settings/_display.html.erb
config/configuration.yml.example
config/locales/en.yml
config/locales/fr.yml
config/routes.rb
config/settings.yml
lib/redmine/thumbnail.rb [new file with mode: 0644]
lib/redmine/utils.rb
public/stylesheets/application.css
test/functional/attachments_controller_test.rb
test/functional/issues_controller_test.rb
test/integration/routing/attachments_test.rb
test/test_helper.rb
test/unit/attachment_test.rb