Implemented making inactive the document.
Merge branch 'coconut-drupal' of https://github.com/ICTatRTI/coconut into coconut-drupal