User type: {{ user_profile.user_type }}
Tokens:
{{ token_count }}
{% if user_profile.user_type == 3 %}
Generate Financial Statement
{% comment %} REPLACE WITH LOGIC TO CHECK PROPER USER {% endcomment %}
{% endif %}
{% if 1 %}
Upload Machine Learning Model
{% comment %} AI content {% endcomment %} {% endif%}
General information
{{ user.email }}
{{ user.username }}
User History
Date |
Action |
Details |
{% for entry in user_data %}
{{entry.date}} |
{{entry.action}} |
{{entry.file}}
|
{%endfor%}
{% if 1 %} {% comment %} REPLACE WITH LOGIC TO CHECK PROPER USER
{%endcomment %}
{% if user_profile.user_type == 2 %}
Application Logs
Date |
Action |
User ID |
status |
{% for entry in admin_data %}
{{entry.date}} |
{{entry.action}}
|
{{entry.user}} |
{{entry.status}} |
{% endfor %}
{% endif %}
{% endif %} {% comment %} Admin page functionality end {% endcomment %}
{% endblock content %}