Bug 5872 - Add galley label to file-link class, for icons/usability/styling - patch attached
Add galley label to file-link class, for icons/usability/styling - patch atta...
Status: NEW
Product: OJS
Classification: Unclassified
Component: General
2.4.x
All All
: P5 enhancement
Assigned To: PKP Support
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-09-02 07:41 PDT by Nick Freear
Modified: 2012-09-21 16:00 PDT (History)
1 user (show)

See Also:
Version Reported In:
Also Affects:


Attachments
A patch for 5 article, issue and search templates (OJS 2.3.1) (5.78 KB, application/octet-stream)
2010-09-02 07:41 PDT, Nick Freear
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Freear 2010-09-02 07:41:47 PDT
Created attachment 3221 [details]
A patch for 5 article, issue and search templates (OJS 2.3.1)

Hi,

Please can you consider this low-risk enhancement to the templates...

It would be useful for me, and I'm sure for others, if an additional class can be added to the links to HTML and PDF galleys, for example,
    <a class="file HTML" ...>HTML</a>

This will make it easy to add icons, which should enhance usability.

Example Diff - templates/issue/issue.tpl:

  -  <a href="{...}" class="file">{$galley->getGalleyLabel()|escape}</a>
  +  <a href="{...}" class="file {$galley->getGalleyLabel()|escape}">{$galley->getGalleyLabel()|escape}</a>

Please find a patch attached for 5 article, issue and search templates. Note that I have only looked at 'public-facing' pages so far.

Many thanks,

Nick