Ignore:
Timestamp:
Nov 27, 2019, 1:00:25 PM (3 years ago)
Author:
Nicklas Nordborg
Message:

References #2199: Implement a "File viewer" extension point

Added support for changing the HTML tag used by the CompactButtonRenderer. The default value is <a>.

The file action extension point now uses <span> instead.

Added some styling and changed the Base.getFileLinks() method to use the same HTML structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/clients/web/web-extensions.xml

    r7757 r7759  
    156156    <renderer-factory override="true">
    157157      <factory-class>net.sf.basedb.clients.web.extensions.toolbar.CompactButtonRendererFactory</factory-class>
     158      <parameters>
     159        <button-tag>span</button-tag>
     160      </parameters>
    158161    </renderer-factory>
    159162    <name>File viewer</name>
Note: See TracChangeset for help on using the changeset viewer.