Skip to content

Commit

Permalink
Merge pull request #251 from siadyhr/master
Browse files Browse the repository at this point in the history
Display 'caption' as mouse-over text in gallery
  • Loading branch information
Mortal committed Nov 12, 2018
2 parents 9289d57 + 4b1d323 commit de2408d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tkweb/apps/gallery/templates/image.html
Expand Up @@ -51,7 +51,8 @@
src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"
{% else %}
src="{{ file.file.thumbnail.720x720.url }}"
{% endif %}>
{% endif %}
title="{{ file.caption }}">
{% elif file.type == "A" %}
<audio controls
{% if file != start_file %}data-{% endif %}src=
Expand Down

0 comments on commit de2408d

Please sign in to comment.