show.html.haml revision 379e77a2ae022772d831a0221856d3dc33766d79
= repository_nav resource, :overview
- if resource.remote?
= render partial: 'source'
%p
Clone URL:
%input.form-control.clone-url{type: 'text', readonly: true, value: repository_tree_url(resource, protocol: 'git', port: nil) << '.git' }
- if resource.private_flag
%h2 Private
%p This repository is private. Only users and teams with explicitly set permissions have access to this repository.
%h2 Description
%p
- if resource.description?
= resource.description
- else
%em No description.
%h2 Recent changes
- if resource.recent_changes.empty?
%p No changes.
- else
%ul.repository-commits
- resource.recent_changes.each do |commit|
= render partial: 'files/commit', locals: { repository: resource, commit: commit }