{% else %}
{% if not summary_error %}
{{summary}}
{% else %}
An internal error occured fetching the README 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 files
{% else %}
the README file
{% endif %}
on this page?
{% for repo in project.source_repos %}
{% endfor %}
{% endif %}
{% endif %}
{% if current_user and current_user.user_type.value == "admin" %}