canvas-lms/public
Nate Armstrong ea3bab6d46 Hide download button on internal links
closes LS-2055
flag=rce_better_file_downloading

test plan: automated :)

If you want extra credit:
- Enable 'RCE Better File Downloading'
- Create a new page with:
  - course link (like a page)
    - edit html and add class='instructure_file_link' to the `a` tag
  - external link (like http://google.com)
  - link to a document (like a pdf) and keep it a link
- The Course Link should not have a download button
- The external link should not have a download button
- The document link should have a download button

Change-Id: I8136175164341cb844ad9036b371b956db810ff0
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/261507
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jonathan Guardado <jonathan.guardado@instructure.com>
QA-Review: Jonathan Guardado <jonathan.guardado@instructure.com>
Product-Review: Nate Armstrong <narmstrong@instructure.com>
2021-03-24 19:43:07 +00:00
..
file_removed Fix typo in public/file_removed/file_removed.pdf 2018-04-05 16:54:38 +00:00
fonts Add setting to choose Lato or Lato Extended font for canvas 2020-10-21 12:42:03 +00:00
images Add radio buttons to individual outcomes in Find Outcomes modal 2021-02-09 19:47:38 +00:00
javascripts Hide download button on internal links 2021-03-24 19:43:07 +00:00
media_record Update krecord to support nginx-rtmp 2018-11-06 18:49:58 +00:00
partials Update the Course Settings page to be responsive 2020-03-18 18:57:57 +00:00
422.html
500.html
Canvas.png Add CSS to IE unsupported page 2019-09-11 16:55:10 +00:00
_crossdomain.xml
apple-touch-icon.png ThemeEditor: fix 404 to default preview images 2015-08-05 22:52:58 +00:00
dimdim_welcome.html
drawing.html
enable-javascript.html
equella_cancel.html
equella_success.html
favicon.ico
ie-is-not-supported.html Update community urls to reflect platform move 2020-08-12 20:17:02 +00:00
inst-fs-sw.js remove “while(1);” json protection 2021-03-23 16:21:44 +00:00
loading_submission.html
robots.txt
simple_response.json