diff --git a/assets/tpl/admin_index.html b/assets/tpl/admin_index.html
index 7ab4dc9..f4e5544 100644
--- a/assets/tpl/admin_index.html
+++ b/assets/tpl/admin_index.html
@@ -246,9 +246,9 @@
{{if $p.DeactivatedAt}}
Peer is disabled!
{{end}}
- {{if $p.WillExpire}}{{if not $p.DeactivatedAt}}
+ {{if $p.WillExpire}}
Peer will expire on {{ formatDate $p.ExpiresAt}}
- {{end}}{{end}}
+ {{end}}
{{if eq $.Device.Type "server"}}
Download
diff --git a/assets/tpl/user_index.html b/assets/tpl/user_index.html
index 619fe19..4da4fae 100644
--- a/assets/tpl/user_index.html
+++ b/assets/tpl/user_index.html
@@ -49,7 +49,7 @@
-
{{$p.Identifier}} |
+
{{$p.Identifier}}{{if $p.WillExpire}} {{end}} |
{{$p.PublicKey}} |
{{$p.Email}} |
{{$p.IPsStr}} |
@@ -105,6 +105,9 @@
{{if $p.DeactivatedAt}}
Peer is disabled!
{{end}}
+ {{if $p.WillExpire}}
+
Profile expires on {{ formatDate $p.ExpiresAt}}
+ {{end}}