.ui.visible.message
  | A project's contract is a technical description of the project meant for communication, project updates
    and project cloning.
    In addition to this some other important objectives will be backup and project history logging.
if contract.isFulfilled
  = format-json value=contract.content top_title='Contract' nesting_level=1
else
  .ui.icon.message
    i.notched.circle.loading.icon
    .content
      .header Loading contract...
.modal-actions.sticky
  if contract.isFulfilled
    a.ui.primary.button.pull-right href=download_href download=download_file_name
      span Download
  button.ui.basic.button.modal-rollback{action 'close'}= t 'general.close'
