mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
add download link in lightbox
This commit is contained in:
@@ -170,6 +170,8 @@ class CookedPostProcessor
|
||||
informations = "#{original_width}x#{original_height}"
|
||||
informations << " #{number_to_human_size(upload.filesize)}" if upload
|
||||
|
||||
a["title"] = filename
|
||||
|
||||
meta.add_child create_span_node("filename", filename)
|
||||
meta.add_child create_span_node("informations", informations)
|
||||
meta.add_child create_span_node("expand")
|
||||
|
||||
Reference in New Issue
Block a user