Add a message when no users exist

Fix nginx conf
This commit is contained in:
Cyril 2019-11-13 11:13:51 +01:00
parent c71244fb03
commit aaaebf71c0
3 changed files with 8 additions and 2 deletions

View File

@ -10,8 +10,8 @@ server {
root /var/www/davis/public/;
index index.php;
rewrite ^/.well-known/caldav /dav redirect;
rewrite ^/.well-known/carddav /dav redirect;
rewrite ^/.well-known/caldav /dav/ redirect;
rewrite ^/.well-known/carddav /dav/ redirect;
charset utf-8;

View File

@ -27,6 +27,8 @@
<a href="#" data-href="{{ path('user_delete',{username: principal.username})}}" class="btn btn-outline-danger flex-fill flex-shrink-1 delete-modal"><span class="d-none d-sm-inline">⚠&nbsp;</span>{{ "delete"|trans }}</a>
</div>
</div>
{% else %}
<div class="my-5 py-5 d-flex justify-content-center align-items-center text-muted">{{ "no.users.yet"|trans }}</div>
{% endfor %}
</div>

View File

@ -365,6 +365,10 @@
<source>login.already</source>
<target>You are already logged in as {username}</target>
</trans-unit>
<trans-unit id="nMyjxoa" resname="no.users.yet">
<source>no.users.yet</source>
<target>No users yet.</target>
</trans-unit>
</body>
</file>
</xliff>