{% extends "meta.html" %}
{% block title %}
~{{user.username}} - {{cfg("sr.ht", "site-name")}} meta
{% endblock %}
{% block content %}
~{{user.username}}
{{icon('exclamation-circle')}} Notice:
This page contains private user information.
- User ID
- {{user.id}}
- Email
-
{{user.email}}
- Registered
- {{user.created | date}}
- User type
- {{user.user_type.value}}
{% if user.user_type.value == "SUSPENDED" %}
- Suspension Notice
- {{user.suspension_notice}}
{% endif %}
- Payment status
- {{user.payment_status.value}}
{% if user.location %}
- Location
- {{user.location}}
{% endif %}
{% if user.url %}
- URL
-
{{user.url}}
{% endif %}
{% if user.payment_processor_id %}
- Stripe customer
-
{{user.payment_processor_id}}
{% endif %}
{% if sub %}
- Payment amount
-
${{"{:.2f}".format(sub.amount / 100)}}
- Payment interval
-
{{sub.interval.value or "n/a"}}
{% endif %}
{% if user.payment_due %}
- Payment due
- {{user.payment_due | date}}
{% endif %}
{% if user.bio %}
{{user.bio | md}}
{% endif %}
{% if totp %}
{% endif %}
{% if any(user.ssh_keys) %}
SSH keys
Name |
Fingerprint |
Authorized |
Last Used |
{% for key in user.ssh_keys %}
{{key.comment}} |
{{key.fingerprint}}
{{key.key}}
|
{{key.created|date}} |
{{key.last_used|date}} |
{% endfor %}
{% endif %}
{% if any(user.pgp_keys) %}
PGP keys
ID |
Fingerprint |
Authorized |
{% for key in user.pgp_keys %}
{{key.id}} |
{{key.fingerprint_hex}}
{{key.key}}
|
{{key.created|date}} |
{% endfor %}
{% endif %}
Audit Log
IP Address |
Host |
Details |
Date |
{% for log in audit_log %}
{{log.ip_address}} |
{{rdns.get(log.ip_address.exploded, "unknown")}} |
{{log.details or log.event_type}} |
{{log.created | date }} |
{% endfor %}
Personal Access Tokens
Comment |
Issued |
Expires |
|
{% for token in personal_tokens %}
{{ token.comment }} |
{{ token.issued | date }} |
{{ token.expires | date }} |
Revoke
|
{% endfor %}
Invoices
{% if invoices %}
{% for invoice in invoices %}
{{icon('check')}}
${{"{:.2f}".format(invoice.cents/100)}}
with {{invoice.source}}
Export as PDF
Paid {{invoice.created | date}}
Valid for service until {{invoice.valid_thru | date}}
{% if invoice.comment %}
{{invoice.comment}}
{% endif %}
{% endfor %}
{% else %}
None
{% endif %}
{% endblock %}