{% extends "base.html" %} {% block title %}Welcome{% endblock %} {# list of users in this project #} {% if request.environ.get('repoze.who.identity') %} {% set user_details = request.environ['repoze.who.identity'].get('user') %} {% else %} {% set user_details = none %} {% endif %} {% block content %}

Repository Information:

{% set branches = repo.get_branches() %}

The {{ project.name }} repository has {{branches|length}} branches.

{% for branch in branches %} {% endfor %}
Branch NameRevisionsActions
{{h.image(h.url('/bzr_icon.png'), 'Bazaar Branch')}} {{branch.get_name()}} {{branch.get_last_revision_number()}} {{h.link_to(h.image(h.url('/application-list.png'), 'Branch Log'), h.url(controller='project', project_name=project.name, action='branch_log', branch_name=branch.get_name()), title="Branch Log")}} {{h.link_to(h.image(h.url('/bin-exclamation.png'), 'Delete Branch'), h.url(controller='project', project_name=project.name, action='delete_branch', branch_name=branch.get_name()), title="Delete Branch", confirm="Are you sure you want to delete the '" + branch.get_name() + "' branch? Branch deletion is permanent!")}}
{# Site-Project Admin or Project Manager #}
Users in this Project
{% for member in project.users %}
{{ h.link_to(member.person.name, h.url(controller="person", person_name=member.person.login), class="user") }} {{ member.role }}
{% endfor %} {% if h.has_site_role(h.PROJECT_ADMIN) or user_role == h.PROJECT_ROLES[2] %}
{{ h.link_to('Manage Project Users', h.url(controller='project', action='manage_users', project_name=project.name)) }}
{% endif %}
{% endblock %}