Closed (fixed)
Project:
Drupal voor Gemeenten
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Aug 2017 at 05:19 UTC
Updated:
13 Oct 2017 at 13:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
joshahubbers commentedComment #3
joshahubbers commentedComment #4
askibinski commentedComment needs to start with a capital and end with a dot. Otherwise looks good to me.
Comment #5
askibinski commentedComment #6
askibinski commentedAlso, class needs to be set on preview link (visible after uploading a file by ajax).
Comment #7
joshahubbers commentedef file check added to _dvg_media_file_types_file_link. This function is overwritten in normal page display, so the class will not be added there, but is added after the ajax file upload is done.
Comment #8
askibinski commentedAllright, looks good!
Comment #9
joshahubbers commentedChanged the patch. Now the link encrypted file is added alongside the link-file class. Piwik tracks the file anyway. With this patch the file is either with class encrypted file or class link-file.
CSS changed to duplicate styling of link-file to encrypted-file.
Comment #10
joshahubbers commentedComment #11
ruudvanoijen commentedThe patch fails the drupal coding standards.
Comment #12
paulvandenburg commentedThe coding standards issues are the if else formatting.
Fixed those.
Comment #13
askibinski commentedLooks good. Essentially the patch only adds a class which needs to be used by custom code and is safe to commit.
Comment #15
askibinski commented