Revert "(bug 45037) show edit link only if we have repo links"

This reverts commit 565a31e8fea276dd73f93854665fdb1632b3b8a1

Change-Id: Icdaef93dc05aff3b8eade06e542cc830b2e21eeb
Merge "Revert "(bug 45037) show edit link only if we have repo links""