Commit 00e959b8 authored by gubala's avatar gubala

larger image tooltip on hover

parent 28f324ab
......@@ -62,8 +62,8 @@
- else
- if entry[:name].end_with?('jpg', 'jpeg', 'png', 'gif')
= link_to display_name, file_path(path: target_path),
title: "<img height='256px' src='#{file_path(path: target_path)}'>",
data: { html: true }
title: "<img height='512px' src='#{file_path(path: target_path)}'>",
data: { html: true, placement: 'right' }
- else
= link_to display_name, file_path(path: target_path)
- if entry[:owner] == current_user.login
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment