{% extends "master.html" %} {% block title %}Home{% endblock %} {% set tag = "projects" %} {% from "_browseheader.html" import browse_header %} {% block header %} {% endblock %} {% from "_render_repo.html" import render_repos_as_card, render_contributions_graph %} {% block content %}
My Projects {{repos | count}} {% if config.get('ENABLE_NEW_PROJECTS', True) and repos %} {% endif %}
{% if repos %}
{% for repo in repos %}
{% set url = url_for( 'view_repo', repo=repo.name, username=repo.user.username if repo.is_fork else None, namespace=repo.namespace) %} {% if repo.avatar_email %}   {% else %} {% endif %} {{ repo.namespace + '/' if repo.namespace }}{{ repo.name }}
{% if config.get('ENABLE_TICKETS', True) and repo.settings.get('issue_tracker', True) %} {% if repo.open_tickets_public == 0 %} {{- repo.open_tickets_public }} {% else %} {{- repo.open_tickets_public }} {% endif %} {% endif %} {% if repo.open_requests == 0 %} {{- repo.open_requests}} {% else %} {{- repo.open_requests}} {% endif %}
{% endfor %}
{% else %}
You have no projects
{% if config.get('ENABLE_NEW_PROJECTS', True) %} Create a Project {% endif %}
{% endif %}
My Forks {{forks | count}}
{% if forks %}
{% for fork in forks %}
{% set url = url_for( 'view_repo', repo=fork.name, username=fork.user.username if fork.is_fork else None, namespace=fork.namespace) %} {{username}}/{{ fork.namespace + '/' if fork.namespace }}{{ fork.name }}
forked from {{ fork.parent.namespace + '/' if fork.parent.namespace }}{{fork.parent.name}} {% if fork.settings.get('issue_tracker', True) %} {% if fork.open_tickets_public == 0 %} {{- fork.open_tickets_public }} {% else %} {{- fork.open_tickets_public }} {% endif %} {% endif %} {% if fork.settings.get('pull_requests', True) %} {% if fork.open_requests == 0 %} {{- fork.open_requests}} {% else %} {{- fork.open_requests}} {% endif %} {% endif %}
{% endfor %}
{% else %}

You have no forks

{% endif %}
{{render_contributions_graph(username)}}
My Groups {{ user.groups | length }}
{% for group in user.groups %} {% else %}

No group found

{% endfor %}
My Watch List {{ watch_list | count }}
{% for repo in watch_list %} {% else %}

No project in watch list

{% endfor %}
{% endblock %} {% block jscripts %} {{ super() }} {% endblock %}