system bin, 坑
This commit is contained in:
parent
7456e37e8a
commit
93d13c8867
|
@ -193,9 +193,8 @@ module ApplicationHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def thumbnail_tag(attachment)
|
def thumbnail_tag(attachment)
|
||||||
imagepath = named_attachment_path(attachment, attachment.filename)
|
link_to image_tag(thumbnail_path(attachment)),
|
||||||
link_to image_tag(imagepath),
|
named_attachment_path(attachment, attachment.filename),
|
||||||
imagepath ,
|
|
||||||
:title => attachment.filename
|
:title => attachment.filename
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
<% if images.any? %>
|
<% if images.any? %>
|
||||||
<div class="thumbnails">
|
<div class="thumbnails">
|
||||||
<% images.each do |attachment| %>
|
<% images.each do |attachment| %>
|
||||||
<div><%= thumbnail_small_tag(attachment) %></div>
|
<div><%= thumbnail_tag(attachment) %></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
|
@ -173,7 +173,7 @@ default:
|
||||||
|
|
||||||
# Absolute path (e.g. /usr/bin/convert, c:/im/convert.exe) to
|
# Absolute path (e.g. /usr/bin/convert, c:/im/convert.exe) to
|
||||||
# the ImageMagick's `convert` binary. Used to generate attachment thumbnails.
|
# the ImageMagick's `convert` binary. Used to generate attachment thumbnails.
|
||||||
imagemagick_convert_command: '/home/pdl/redmine-2.3.1-1/common/bin/convert'
|
imagemagick_convert_command: '/home/pdl/redmine-2.3.2-0/common/bin/convert'
|
||||||
|
|
||||||
# Configuration of RMagcik font.
|
# Configuration of RMagcik font.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue