|
|
@ -326,7 +326,7 @@ module ApplicationHelper
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
def thumbnail_issue_tag(attachment)
|
|
|
|
def thumbnail_issue_tag(attachment)
|
|
|
|
imagesize = attachment.thumbnail(:size => "50*50")
|
|
|
|
imagesize = attachment.thumbnail(:size => "200*200")
|
|
|
|
imagepath = named_attachment_path(attachment, attachment.filename)
|
|
|
|
imagepath = named_attachment_path(attachment, attachment.filename)
|
|
|
|
if imagesize
|
|
|
|
if imagesize
|
|
|
|
link_to image_tag(thumbnail_path(attachment), height: '73', width: '100'),
|
|
|
|
link_to image_tag(thumbnail_path(attachment), height: '73', width: '100'),
|
|
|
|