<div ng-switch on="trigger.service">
  <!-- Message -->
  <div ng-switch-when="custom-git" class="alert alert-info">
    <p>
      In order to use this trigger, the following first requires action:
      <ul>
        <li>You must give the following public key read access to the git repository.</li>
        <li>You must set your repository to POST to the following URL to trigger a build.</li>
      </ul>
      For more information, refer to the <a href="http://docs.quay.io/guides/custom-trigger.html" target="_blank">Custom Git Triggers documentation</a>.
    </p>
  </div>
  <div ng-switch-when="github" class="alert alert-info">
    <p>The following key has been automatically added to your GitHub repository.</p>
  </div>

  <!-- Credentials -->
  <div ng-repeat="credential in trigger.config.credentials">
    <p>
      {{ credential.name }}:
      <div class="copy-box" value="credential.value"></div>
    </p>
  </div>
</div>