Fix create release title in warning on package page

This commit is contained in:
rubenwardy 2021-01-30 00:25:48 +00:00
parent fa23a00014
commit 53d2d18b89

@ -192,6 +192,7 @@
{{ _("Only visible to the author and Editors.") }}
</p>
<div class="btn-group btn-group-sm my-0">
{% set release_title = config.last_tag or (config.outdated_at | isodate) %}
<a class="btn btn-warning"
href="{{ package.getCreateReleaseURL(title=release_title, ref=config.last_tag or config.last_commit) }}">
<i class="fas fa-plus mr-1"></i>