{% extends "base.html" %} {% load compress static hc_extras %} {% block title %}Project Settings - {{ project }}{% endblock %} {% block content %} {% with project.transfer_request as transfer_request %}
{% for message in messages %}

{{ message }}

{% endfor %} {% if transfer_request and transfer_request.user == request.user %} {% with can_accept=transfer_request.can_accept %}

Ownership Transfer Request

{{ project.owner.email }} would like to transfer the ownership of this project to you.

{% if not can_accept %} {% with num_checks=project.num_checks num_available=request.profile.num_checks_available %}

This project has {{ num_checks }} check{{ num_checks|pluralize}}, but your account only has space for {{ num_available }} additional check{{ num_available|pluralize }}. To accept the transfer, please upgrade your account first!

{% endwith%} {% endif %}
{% csrf_token %}
{% endwith %} {% endif %}

Project Name

{{ project }} {% if rw %} Change Project Name {% endif %}
{% if project_name_updated %} {% endif %}
{% if rw %}

API Access

API key {% if project.api_key %} {% if show_keys %} {{ project.api_key }} {% else %} {{ project.api_key|mask_key }} {% endif %} {% else %} not set {% endif %} {% if project.api_key %} Revoke {% else %} Create {% endif %}
API key (read-only) {% if project.api_key_readonly %} {% if show_keys %} {{ project.api_key_readonly }} {% else %} {{ project.api_key_readonly|mask_key }} {% endif %} {% else %} not set {% endif %} {% if project.api_key_readonly %} Revoke {% else %} Create {% endif %}
Ping key {% if project.ping_key %} {% if show_keys %} {{ project.ping_key }} {% else %} {{ project.ping_key|mask_key }} {% endif %} {% else %} not set {% endif %} {% if project.ping_key %} Revoke {% else %} Create {% endif %}

See also:

{% if not show_keys %} {% if project.api_key or project.api_key_readonly or project.ping_key %}
{% csrf_token %}
{% endif %} {% endif %}
{% if key_created %} {% endif %} {% if key_revoked %} {% endif %}
{% endif %} {% with invite_suggestions=project.invite_suggestions %}

Team Access

{% if memberships or invite_suggestions %} {% for m in memberships %} {% endfor %} {% if is_manager and invite_suggestions %} {% for user in invite_suggestions %} {% endfor %} {% endif %}
Email Role
Owner
{{ m.get_role_display }} {% if is_manager and m.user != request.user %} Remove {% endif %}
Add Users from Other Projects
{{ user.email }} Add to Team
{% else %}

Invite team members to your project. Share access to your checks and configured integrations without having to share login details.

{% endif %}
{% if is_manager %} {% if project.can_invite_new_users %} Invite a Team Member {% else %}
Team size limit reached. {% if is_owner %} To invite new members by email, please upgrade your account! {% else %} To invite new members, please ask project's owner to upgrade their account. {% endif %}
{% endif %} {% endif %}
{% endwith %} {% if team_member_invited %} {% endif %} {% if team_member_duplicate %} {% endif %} {% if team_member_removed %} {% endif %}
{% if is_owner %}

Transfer Ownership

{% if transfer_request %}
{% csrf_token %}
Transfer initiated, awaiting confirmation from {{ transfer_request.user.email }}. {% else %} Transfer Project… Transfer this project to a team member. {% endif %}
{% if transfer_initiated %} {% endif %} {% if transfer_cancelled %} {% endif %}
{% endif %} {% if is_owner %}
{% csrf_token %}

Remove Project

Remove Project This will permanently remove project {{ project }}.
{% endif %}
{% if rw %}
{% csrf_token %}
{% endif %} {% if rw %} {% endif %} {% if is_manager %} {% endif %} {% if is_manager %} {% endif %} {% if rw %} {% endif %} {% if is_owner %} {% endif %} {% if is_owner and not transfer_request %} {% endif %} {% endwith %} {% endblock %} {% block scripts %} {% compress js %} {% endcompress %} {% endblock %}