It would be useful to add a class="favorite" to the links, so it would be easier to style them.
Thank you!

CommentFileSizeAuthor
#1 favorite_nodes_0.patch1.03 KBbrunodbo

Comments

brunodbo’s picture

Version: master » 5.x-1.2
Status: Active » Needs work
StatusFileSize
new1.03 KB

The attached patch adds two classes to the links, for easy styling:

- class="favorites add" to a 'add to favorites' link
- class="favorites remove" to a 'remove from favorites' link

Two things:

- Please review this patch (it's my very first :-) )
- There is still a '0' being printed in the class attribute. Anyone knows where this comes from?

kbahey’s picture

Title: class to the link » Provide a CSS class to the add and remove link
Version: 5.x-1.2 » 5.x-1.x-dev
Status: Needs work » Fixed

I committed this to the -dev version. It should be available in the download tomorrow.

People can test it that way.

Thank you.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.