instructure/canvas-lms — pull request #367 by va7map (2013-11-07 22:41:45+00:00)
Title: Hide self registration URL if feature is off

`register_url` is only useful if self registration is turned on, so don't mention it unless it is on.

Test Plan:
* Turn self registration off
* Go to a course and enable self enrollment
* Look at self enroll instructions at the bottom of Course Details
* The self register URL should be hidden
* The self enrollment checkbox should not mention a code
* Turn self registration back on
* The self register URL should be visible
* The self enrollment checkbox should mention the code

---

*NOTE: We have a signed CLA for all of Simon Fraser University (SFU) on file.*