Add ability to create packages on behalf of other users

Fixes #27
This commit is contained in:
rubenwardy
2018-04-03 14:56:43 +01:00
parent 5f2a399260
commit ed88c61714
4 changed files with 31 additions and 5 deletions

View File

@@ -2,6 +2,9 @@
{% block title %}
{{ package.title or "Create Package" }}
{% if not package and author != current_user %}
for {{ author.display_name }}
{% endif %}
{% endblock %}
{% block content %}