<%= erb :header %>

<%= @repo_data[:info][:reponame] %>

<% if @repo_data[:info][:descr].nil? || @repo_data[:info][:descr] == "" %> "Нет описания" <% else %> <%= @repo_data[:info][:descr] %> <% end %>

Доступные ветки

    <% @repo_data[:branches].each do |br| %>
  • <%= br %>
  • <% end %>

<%= @repo_data[:info][:reponame] %>

<% if @repo_data[:info][:descr].nil? || @repo_data[:info][:descr] == "" %> "Нет описания" <% else %> <%= @repo_data[:info][:descr] %> <% end %>

Список 10 последних коммитов

<% @repo_data[:commits].each do |commit| %>
<%= commit[:sha] %>

<%= commit[:author][:name] %> (<%= commit[:time] %>): <%= commit[:message] %>

<% end %>

<%= @repo_data[:info][:reponame] %>

<% if @repo_data[:info][:descr].nil? || @repo_data[:info][:descr] == "" %> "Нет описания" <% else %> <%= @repo_data[:info][:descr] %> <% end %>

Тэги проекта

    <% @repo_data[:tags].each do |tags| %>
  • <%= tags %>
  • <% end %>

<%= @repo_data[:info][:reponame] %>

<% if @repo_data[:info][:descr].nil? || @repo_data[:info][:descr] == "" %> "Нет описания" <% else %> <%= @repo_data[:info][:descr] %> <% end %>

Клонировать репозиторий

  • git clone <%= @user_name %>@<%= @ip_addr %>:<%= @path_to_repo %>
<%= erb :footer %>