Bootstrap 3.x compatibility
Only show discharge buttton for non-readonly users.

refs openhealthcare/opal#202