GeoNode/geonode — pull request #224 by matthewhanson (2012-04-25 19:34:35+00:00)
Title: Profile link now points to create profile when none exists

When logged in, Username linked correctly pointed to /profile/create/ if a profile didn't exist for the user yet, however the 'Profile' link always pointed to the profile and would generate a 404 if the profile didn't exist.
This commit simply uses the same code in both places.