gitlabhq/gitlabhq — pull request #7886 by cirosantilli (2014-09-28 09:04:44+00:00)
Title: Disable / hide MR edit blob button if cannot edit.

UI changes on the merge request diff view:

- if the user does not have permission to edit the blob, disable the link
- if the blob is not text, hide the link

This is the same behavior as for the blob show edit button. Both buttons have been factored out.