summaryrefslogtreecommitdiffstats
path: root/app/views/common
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-04-11 19:17:48 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-04-11 19:17:48 +0000
commit2fbce6515d6f87cae8c4f02d082f208595821bdd (patch)
treeb41d298a944b58d2e5239a26a003551a770fb4b3 /app/views/common
parentc75157ac4ae830c309b397b43c732a38fe290faf (diff)
downloadredmine-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.erb1
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' %>