Don't show the edits link if the feature is not enabled.

Fixes #812