{% extends "base.html" %} {% block title %}User Details{% endblock %} {% block content %}

{{person.name|e}}

Project Memberships:

{% if person.projects|length %} {% for membership in person.projects %}

You are a {{membership.role}} on the {{h.link_to(membership.project.name + ' project', h.url_for(controller='/project', project_name=membership.project.name))|e}}.

{% endfor %} {% else %}

You are not a member of any projects.

{% endif %}

Personal Repository:

{{ h.help_link("What's a Personal Repository?", '/what-is/repo-type')}} {% set branches = repo.get_branches() %}

Your personal repository has {{branches|length}} branches.

{% for branch in branches %}
  • {{h.image('/bzr_icon.png', 'Bazaar Branch')}} {{branch.get_name()}} - ({{branch.get_last_revision_number()}} revisions) - {{h.link_to('branch log', h.url_for(controller='/person', person_name=person.login, action='branch_log', branch_name=branch.get_name()))}}
{% endfor %}

SSH Keys

{% if person.auth_keys|length %}

You have {{person.auth_keys|length}} Keys stored. {{ h.link_to('Manage your SSH Keys', h.url_for(controller='/person', action='manage_ssh_keys', person_name=person.login))}}.

{% else %}

You have no SSH Keys. {{h.link_to('Add an SSH key now', h.url_for(controller='/person', action='manage_ssh_keys', person_name=person.login))}}.

{% endif %}

New to Sloecode?

You may want some help:

{{h.help_link('Getting Started under Windows', 'getting-started-windows')}}
{{h.help_link('Recommended Workflow', 'recommended-workflow')}}

If all else fails, please consult the {{ h.link_to('official Bazaar documentation', 'http://doc.bazaar.canonical.com/latest/en/')}}.

{% endblock %}