Add screenshot placeholder on package page

This commit is contained in:
rubenwardy
2020-12-06 04:41:58 +00:00
parent cf307e25d0
commit 3f48905331

View File

@@ -396,6 +396,14 @@
</a>
</li>
{% endif %}
{% else %}
{% if package.checkPerm(current_user, "EDIT_PACKAGE") %}
<li>
<a href="{{ package.getNewScreenshotURL() }}">
<i class="fas fa-plus screenshot-add"></i>
</a>
</li>
{% endif %}
{% endfor %}
</ul>