LPS-42439 Moves showAvailableLocales, showAssetTitle and showContextLink closer to where they are used