[
https://issues.apache.org/jira/browse/ISIS-972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14241878#comment-14241878
]
Martin Grigorov commented on ISIS-972:
--------------------------------------
If you like the idea then I may try to implement it myself.
I see two ways:
1) make org.apache.isis.applib.annotation.ActionLayout#cssClassFa() returning
some specialized class that brings both the class name and position
2) add a new method to ActionLayout, e.g. cssClassFaPosition default LEFT.
> Make it possible to set FontAwesome icons after the label for action links
> --------------------------------------------------------------------------
>
> Key: ISIS-972
> URL: https://issues.apache.org/jira/browse/ISIS-972
> Project: Isis
> Issue Type: Improvement
> Components: Viewer: Wicket
> Affects Versions: viewer-wicket-1.8.0
> Reporter: Martin Grigorov
> Assignee: Dan Haywood
> Priority: Minor
> Attachments: fa-icon-after-label.png
>
>
> By using org.apache.isis.applib.annotation.ActionLayout#cssClassFa() one can
> set a custom FontAwesome icon for an action link.
> The small issue that I see in ToDo App is that the icon is used always as a
> prefix for the link's label.
> Sometimes it may make more sense to use if as a suffix, e.g. for the "Next"
> link in "Priority" section. See screenshot.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)