[ticket/378] Hide portal link if it's disabled

B3P-378
[ticket/378] Add functional test and correct check in listener

B3P-378
Merge pull request #380 from marc1706/ticket/378

[ticket/378] Hide portal link if it's disabled