Skip to content

Make the filename the link; remove "Download" #7

@dgingold

Description

@dgingold

I like the way you provide the file path as the download link. The core links module has a folder mode, but the link it generates is ?FileId= instead of "/portals//folders.../filename" like yours. with yours, if the file is identified by the browser, it will display it. perfect for showing a folder full of PDFs. Each will display instead of download.
but row upon row of " Download" seems redundant; "Filename" looks better.
While you're under the hood, making it work for folder providers, (which is the case with my current client), maybe you'd consider this change as well? (You could remove the header too. In fact, making it a ul would be the best. I can style it as needed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions