Fixes: https://pagure.io/pagure/issue/1736
The diff can be made much smaller, there is no need for a big if/else :)
rebased
@pingou, thanks for pointing that out :)
It can still be made simpler :)
Check the properties of the Project object in model.py
@pingou were you expecting this ? :)
It's getter there but did you test this?
Because as it is now, it won't work entirely
i tested it , it shows - forks/<self.user.user>/<project_name> which i think is okay. :)
forks/<self.user.user>/<project_name>
And with a project having a namespace?
@pingou here -> http://img.susepaste.org/29049138
There are no namespace on either project
I think this would take care of the namespaces as well :)
Nice and easy :)
@pingou thanks for you help on this :)
Pull-Request has been merged by pingou
Fixes: https://pagure.io/pagure/issue/1736