jbox-web/redmine_git_hosting

View on GitHub
app/views/repositories/_show_top.html.slim

Summary

Maintainability
Test Coverage
- if @repository.is_a? Repository::Xitolite
  - content_for :header_tags do
    = stylesheet_link_tag 'application', plugin: 'redmine_git_hosting'
    = stylesheet_link_tag 'markdown', plugin: 'redmine_git_hosting'

  .git_hosting_urls.box
    .container
      .row
        .col-md-8 style='vertical-align: middle;'
          = render 'common/git_urls', repository: @repository
        .col-md-4 style='text-align: right; vertical-align: middle;'
          - if RedmineGitHosting::Config.download_revision_enabled?
            = render 'repositories/download_revision', repository: @repository