diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-04-11 19:17:48 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-04-11 19:17:48 +0000 |
commit | 2fbce6515d6f87cae8c4f02d082f208595821bdd (patch) | |
tree | b41d298a944b58d2e5239a26a003551a770fb4b3 /app/views/common | |
parent | c75157ac4ae830c309b397b43c732a38fe290faf (diff) | |
download | redmine-2fbce6515d6f87cae8c4f02d082f208595821bdd.tar.gz redmine-2fbce6515d6f87cae8c4f02d082f208595821bdd.zip |
Add inline image preview/display for attachments and repository entries (#22058).
Patch by Jan Schulz-Hofen.
git-svn-id: http://svn.redmine.org/redmine/trunk@15324 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/common')
-rw-r--r-- | app/views/common/_image.html.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/common/_image.html.erb b/app/views/common/_image.html.erb new file mode 100644 index 000000000..ab73a2354 --- /dev/null +++ b/app/views/common/_image.html.erb @@ -0,0 +1 @@ +<%= image_tag path, :alt => alt, :class => 'filecontent image' %> |