Broken links on contributor profiles
Broken links on contributor profiles
On contributor profiles we make the assumption that if company is set then so is companyurl, which doesn't hold generating a link with href="". The attached (untested patch) adds a check on companyurl, and renders company as plain text unless set. cheers ./daniel
Re: Broken links on contributor profiles
От:
"Jonathan S. Katz" <jkatz@postgresql.org>
Дата:
On 11/5/20 3:06 PM, Daniel Gustafsson wrote:
> On contributor profiles we make the assumption that if company is set then so
> is companyurl, which doesn't hold generating a link with href="". The attached
> (untested patch) adds a check on companyurl, and renders company as plain text
> unless set.
Thanks for catching this. Unfortunately the patch as is does not
actually work due to one of the "{% endif %}" blocks coming too early.
I went ahead, fixed it, and pushed up the patch.
Thanks!
Jonathan