{% extends "master.html" %} {% block title %}{{ repo.namespace + '/' if repo.namespace }}{{ repo.name }}{% endblock %} {% set tag = "home" %} {% if g.repo_watch_levels == ['issues', 'commits'] %} {% set watch_button_title = 'You are watching issues, PRs, and commits on this project' %} {% set watch_button_class = 'btn-primary' %} {% elif g.repo_watch_levels == ['issues'] %} {% set watch_button_title = 'You are watching issues on this project' %} {% set watch_button_class = 'btn-info' %} {% elif g.repo_watch_levels == ['commits'] %} {% set watch_button_title = 'You are watching commits on this project' %} {% set watch_button_class = 'btn-info' %} {% else %} {% set watch_button_title = 'You are not watching this project' %} {% set watch_button_class = 'btn-secondary' %} {% endif %} {% block content %}

{% if repo.private %} {% endif %} {% if repo.is_fork -%} {{ repo.user.user }}/ {%- endif -%} {%- if repo.namespace -%} {{ repo.namespace }} / {%- endif %} {{ repo.name }} {% if authenticated %}
{% if repo.settings.get('issue_tracker', True) and config.get('ENABLE_TICKETS', True)%} New Issue {% endif %}
{% if not g.repo_starred %}
{{ forkbuttonform.csrf_token }}
{{repo.stargazers|length}} {% else %}
{{ forkbuttonform.csrf_token }}
{{repo.stargazers|length}} {% endif %}
{% if not repo.is_fork %} {% if g.repo_forked %} View Fork {% else %}
{{ forkbuttonform.csrf_token }}
{% endif %} {% endif %} {% endif %}

{% if repo.is_fork and repo.parent %} {% elif repo.is_fork and not repo.parent %}
Fork from a deleted repository
{% endif %}
{% if repo.description %}{{ repo.description | safe }}{% else %}-{% endif -%} {%- if repo.url %}  |  {{ repo.url }}{% endif %}
{% if repo.read_only %}
{% endif %} {% if authenticated and repo.settings.get('pull_request_access_only') %}
{% endif %} {% block repo %} {% endblock %}
{% endblock %} {% block jscripts %} {{ super() }} {% endblock %}