Imio.prettylink

Latest version: v1.22

Safety actively analyzes 723685 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 4

1.5

----------------

- Added submethod _get_url that does the url computation.
Additionally it manages the fact that context is a Dexterity file and
append relevant part to the url (/download/...).
[gbastien]
- Do not break if icon name contains special characters.
[gbastien]

1.4

----------------

- Added CSS class 'no_access' to <span> "can_not_access_this_element"
in addition to class 'discreet' so it may be customized if necessary.
[gbastien]
- Initialize the 'title' attribute with contentValue, this way if a
content is cropped to be displayed (maxLength=...), the complete content
is displayed on hover.
[gbastien]

1.3

----------------

- Make sure quotes used in title are not breaking formatted strings,
we escape it by replacing quotes by it's HTML entity &39;
[gbastien]

1.2

----------------

- If 'isViewable' is True (default), check that current user have
'View' on the linked element, if it is forced to False, leave it False.
This way, 'View' check to linked element is managed by imio.prettylink.
[gbastien]

1.1

----------------

- When using 'showColors', do not fail if element has no workflow.
[gbastien]
- Makes 'showContentIcon' work, fixed several bugs.
[gbastien]

1.0

----------------

- Initial release.
[gbastien]

Page 4 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.