{% extends "project-base.html" %} {% import "event.html" as eventutil with context %} {% block title %} {{project.name}}: {{project.description}} {% endblock %} {% block content %}
{% if not project.checklist_complete %} {% if current_user and project.owner_id == current_user.id %}
{{csrf_token()}}

New project checklist

  • {% set ncomplete = 0 %} {% if any(project.source_repos) %} {% set ncomplete = ncomplete + 1 %} {{icon('check', cls='text-success')}} Add source code repositories
    You can see the list of your source repositories by clicking "sources" on the project navigation. {% else %} {{icon('plus-square', cls='text-info')}} Add source code repositories {{icon('arrow-right')}}
    Git and Mercurial repositories help you share this project's source code with your collaborators. {% endif %}
  • {% if any(project.mailing_lists) %} {% set ncomplete = ncomplete + 1 %} {{icon('check', cls='text-success')}} Add mailing lists
    You can see the list of your mailing lists by clicking "mailing lists" on the project navigation. {% else %} {{icon('plus-square', cls='text-info')}} Add mailing lists {{icon('arrow-right')}}
    Mailing lists give users a place to ask questions about the project or send patches to contribute to the code. {% endif %}
  • {% if any(project.trackers) %} {% set ncomplete = ncomplete + 1 %} {{icon('check', cls='text-success')}} Add bug trackers
    You can see the list of your ticket trackers by clicking "tickets" on the project navigation. {% else %} {{icon('plus-square', cls='text-info')}} Add bug trackers {{icon('arrow-right')}}
    Bug trackers give you a place to organize your tasks and record known defects. {% endif %}
{% if ncomplete == 3 %}

{% if project.visibility.value == "public" %} {% else %} {% endif %} You're all set! If you want to set up more things for your project, click "more +" on the top right.

{% endif %}
{% else %}
This is a new project, and the author hasn't finished setting it up yet. Come back later?
{% endif %} {% endif %}
{% for event in events %} {{ eventutil.event(event) }} {% endfor %}
{% if project.summary_repo_id != None %}
{% if current_user and current_user.id == project.owner_id and not summary and not summary_error %}
Head's up! This project is configured to use "README.md" from {{project.summary_repo.owner.canonical_name}}/{{project.summary_repo.name}} as the project summary, but there is no such file. Push one to update the project summary, or choose a different repository.
{% else %} {% if not summary_error %} {{summary}} {% else %}
An internal error occured fetching the README.md for this project.
{% endif %} {% endif %}
{% elif current_user and current_user.id == project.owner_id %}
{% if any(project.source_repos) %}
You have added {{len(project.source_repos)}} source repositor{{"ies" if len(project.source_repos) > 1 else "y"}} to this project. Would you like to display {% if len(project.source_repos) > 1 %} one of the README.md files {% else %} the README.md file {% endif %} on this page?
{% for repo in project.source_repos %}
{{csrf_token()}}

{{ repo.name }}

{% endfor %}
{% endif %}
{% endif %}
{% if current_user and current_user.user_type.value == "admin" %}

Feature this project

{{csrf_token()}}
{% endif %}
{% endblock %}