mirror of
https://github.com/tchapi/davis.git
synced 2025-04-05 05:03:03 +02:00
Add a message when no users exist
Fix nginx conf
This commit is contained in:
parent
c71244fb03
commit
aaaebf71c0
@ -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;
|
||||
|
||||
|
@ -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">⚠ </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>
|
||||
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user