patrickrolanddg / jaikuengine

Automatically exported from code.google.com/p/jaikuengine
Apache License 2.0
0 stars 0 forks source link

the "inviting some friends" link is broken on the overview page #127

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The "inviting some friends" link on the overview page is broken.
No contacts yet. You can start by <a href="/invite">inviting some 
friends</a>.

This link only appear when you have an empty contact list.

On Jaiku.com the bug is not triggered because the relative link will point to 
http://USER.jaiku.com/invite.

What steps will reproduce the problem?
1. Create a new user
2. Click on manage contact and remove the admin user.
3. Go back to overview and click "inviting some friends"

What is the expected output? What do you see instead?

You should get the invite contact form... instead you get a url not
present error.

Fix:

Change the relative link <a href="/invite"> with the absolute link <a 
href="{{request.user.url}}/invite">. Patch attached.

Original issue reported on code.google.com by kugutsu...@gmail.com on 17 Jul 2009 at 5:18

Attachments:

GoogleCodeExporter commented 9 years ago
We're using Rietveld for code reviews of patches. I've added your patch there 
as:
http://rietku.appspot.com/23002

It looks good to me though.

Original comment by adewale on 20 Jul 2009 at 4:22

GoogleCodeExporter commented 9 years ago
Committed: http://code.google.com/p/jaikuengine/source/detail?r=87

Original comment by adewale on 21 Jul 2009 at 3:29