On Sunday, August 2, 2015 at 4:06:15 PM UTC-5, HuBandiT wrote:
>
>
> So, now, as you say that <avater> tag works in the user card, and <avatar 
> with="&this.user"/> works in the comment card - then what remains to be the 
> problem, what is missing?
>
>
<avatar/> does work in the user card and <avatar with="&this.user"/> does 
work in the comment card. But neither syntax works in the show page for the 
project. The closest I can get is the following code in project/index.dryml:







*<collection: replace>   <table-plus: project fields="this, tasker, state, 
created_at">     <empty-message:>No projects match your 
criteria</empty-message:> 
    <tasker-view:><view/><view:avatar/></tasker-view:>     <controls:> 
        <transition-buttons/>     </controls:>*

<view/> Gives me a link to the tasker name. <view:avatar/> almost works but 
not quite: It builds the correct URL to the avatar image but that text is 
simply displayed as text on the page, it is not a hyperlink and it doesn't 
build it into an actual image tag that shows the avatar image on the page.

I've tried various things to "wrap" <view:avatar/> into an <img> tag but no 
dice. I've also tried various permutations of #{} but everything I can 
think of gives me undefined method errors, I just can't seem to find the 
correct syntax to access the .url method of avatar.

Thanks for the input,
Nathan

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to