is there a token that displays the percent complete? couldn't fine one..

CommentFileSizeAuthor
#1 pcp-tokens-2066635-1.patch2.46 KBbenjifisher

Comments

benjifisher’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new2.46 KB

The attached patch provides a token [pcp-user] and a variable token [pcp-profile2:?], either of which can be chained onto a token that provides a user object. For example, [site:current-user:pcp-user] will expand to give the current user's percentage for core user fields, and if you have a Profile2 type "about", then [site:current-user:pcp-profile2:about] should expand to the current user's percentage for that type.

BarisW’s picture

Status: Needs review » Fixed

Thanks for the patch. Committed!

Status: Fixed » Closed (fixed)

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