You've already forked snikket-web-portal
Show invitation hint when user is alone on their instance
This commit is contained in:
@@ -6,8 +6,13 @@
|
||||
{% include "copy-snippet.html" %}
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<h1>{% trans %}Welcome!{% endtrans %}</h1>
|
||||
<p>{% trans user_name=user_info.display_name %}Welcome home, {{ user_name }}.{% endtrans %}</p>
|
||||
{% if user_info.is_admin and metrics.users.active_1d <= 1 %}
|
||||
<aside class="box hint">
|
||||
<header>Welcome to Snikket!</header>
|
||||
<p>Now your Snikket instance is up and running, the next step is to invite people to join it. Family, friends, colleagues... you choose!</p>
|
||||
<a href="/admin/invitations">{% trans %}Create new invitation{% endtrans %}</a>
|
||||
</aside>
|
||||
{% endif %}
|
||||
<nav class="welcome">
|
||||
<ul>
|
||||
<li class="wide">
|
||||
|
||||
Reference in New Issue
Block a user