Merge pull request 'Link to the documentation if an instance has closed registrations (small change, fixes #391)' (#393) from h3ndrik/pyfedi:signup-doc into main

Reviewed-on: https://codeberg.org/rimu/pyfedi/pulls/393
This commit is contained in:
Andrew Slater 2024-12-20 03:23:32 +00:00
commit 167f14968a

View file

@ -19,7 +19,9 @@
<div class="card-title text-center">{{ _('Create new account') }}</div> <div class="card-title text-center">{{ _('Create new account') }}</div>
{{ render_form(form) }} {{ render_form(form) }}
{% else %} {% else %}
{{ _('Registration is closed. Only admins can create accounts.') }} <p>{{ _('Registration is closed. Only admins can create accounts.') }}</p>
<p>{{ _('If you would like to sign up for PieFed, choose one of the other instances in our network:') }}</p>
<p class="text-center"><a class="btn btn-primary" href="https://join.piefed.social/try/" title="{{ _('List of open PieFed instances') }}">{{ _('Try PieFed') }}</a></p>
{% endif %} {% endif %}
</div> </div>
</div> </div>