Restream/redmine_undev_git

View on GitHub
app/views/settings/_web_hooks_description.html.erb

Summary

Maintainability
Test Coverage
<em class="info web-hooks-urls">
  To fetch repository by webhook you should enable webhook on the external service.<br/>
  Gitlab webhook url:
  <%= text_field_tag 'gitlab-web-hook',
      gitlab_hooks_url(host: Setting.host_name, protocol: Setting.protocol),
      size:     60,
      readonly: true,
      class:    'web-hook-url' %><br/>
  Github webhook url:
  <%= text_field_tag 'github-web-hook',
      github_hooks_url(host: Setting.host_name, protocol: Setting.protocol),
      size:     60,
      readonly: true,
      class:    'web-hook-url' %><br/>
  Bitbucket webhook url:
  <%= text_field_tag 'bitbucket-web-hook',
      bitbucket_hooks_url(host: Setting.host_name, protocol: Setting.protocol),
      size:     60,
      readonly: true,
      class:    'web-hook-url' %>
</em>