YCHANGE-PROJECT / YCHANGE

0 stars 1 forks source link

Extend section "Project samples": Download additionally via file symbol #40

Closed MartinPetitMarteau closed 6 years ago

MartinPetitMarteau commented 6 years ago

So far, downloading exemplary teaching material (e.g., PDFs) can be done only via the "Download" button in the upper right. It may be helpful and more intuitive to additinally trigger the download via a click on the file symbol (red circle in the screenshot): ychangedownloadviafilesymbol

pjotrsavitski commented 6 years ago

This could be done by either overriding a view on the backend side or extending a view with addition of JS that would make sure that Icon would become a link, copying the one from the Download button.

The latter one could be a bit less intrusive, but at the same time more of hack (elgg_extend_view with a value of less than 500 would prepend to the view).