Skip to content

User: delete organizations where the user is the last owner #9164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 11, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<div>
<p>
{% blocktrans trimmed %}
<strong>All organizations where you are the only owner will be deleted.</strong>
<strong>All organizations and its projects where you are the only owner will be deleted.</strong>
If you want to keep an organization, add another owner or transfer ownership.
The following organizations and all their projects will be deleted.
{% endblocktrans %}
Expand All @@ -41,6 +41,13 @@
{% for organization in organizations_to_be_deleted %}
<li>
<a href="{{ organization.get_absolute_url }}">{{ organization.slug }}</a>
<ul>
{% for project in organization.projects.all %}
<li>
<a href="{{ project.get_absolute_url }}">{{ project.slug }}</a>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should present this with Project: or similar.

</li>
{% endfor %}
</ul>
</li>
{% endfor %}
</ul>
Expand Down