vextoly/gitman

Fork of patx/gitman.

% rebase("base.tpl", title=repo["owner_username"] + "/" + repo["name"] + " license", user=user, error=error, notice=notice)

<section class="repo-header slim">
  <div>
    % include("repo_fork_eyebrow.tpl")
    % include("repo_title.tpl", repo=repo)

    % include("repo_nav.tpl", repo=repo, commit_count=commit_count, issue_counts=issue_counts, pr_counts=pr_counts, star_count=star_count, is_starred=is_starred, is_owner=is_owner, can_maintain=can_maintain)

    <p class="muted">License</p>
  </div>
</section>

<section class="panel">
  <h2>License</h2>
  % if license_name:
    <p class="muted"><code>{{license_name}}</code></p>
    % if license_html is not None:
      <div class="markdown-body license-body">{{!license_html}}</div>
    % elif license_text:
      <pre class="license-body">{{license_text}}</pre>
    % end
  % else:
    <p class="empty">No license file in this repository.</p>
  % end
</section>