diff --git a/frontend/templates/admin_users.html b/frontend/templates/admin_users.html index 360dcb2c..65c03417 100644 --- a/frontend/templates/admin_users.html +++ b/frontend/templates/admin_users.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% block title %}User Management – Admin – DocuElevate{% endblock %} +{% block title %}{{ _("admin_users.page_title") }}{% endblock %} {% block content %}
- Manage user profiles, per-user upload limits, and document ownership. + {{ _("admin_users.subheading") }}
| User ID | -Display Name | -Documents | -Last Upload | -Plan | -Upload Limit | -Status | -Actions | +{{ _("admin_users.col_user_id") }} | +{{ _("admin_users.col_display_name") }} | +{{ _("admin_users.col_documents") }} | +{{ _("admin_users.col_last_upload") }} | +{{ _("admin_users.col_plan") }} | +{{ _("admin_users.col_upload_limit") }} | +{{ _("common.status") }} | +{{ _("common.actions") }} |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - Loading users… + {{ _("admin_users.loading_users") }} | |||||||||||||||
| - No users found. - Try a different search term. - Upload some documents or add a profile above. + {{ _("admin_users.no_users_found") }} + {{ _("admin_users.no_users_search_hint") }} + {{ _("admin_users.no_users_add_hint") }} | + x-text="user.daily_upload_limit + ' {{ _("admin_users.per_day") }}'"> global default + class="text-gray-400 text-xs">{{ _("admin_users.global_default") }} | @@ -172,7 +172,7 @@ class="inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-xs font-medium" > - + | @@ -181,18 +181,18 @@ type="button" @click="openEditModal(user)" class="inline-flex items-center px-2.5 py-1.5 text-xs font-medium rounded border border-gray-300 text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-blue-500 mr-1" - :aria-label="`Edit profile for ${user.user_id}`" + :aria-label="`{{ _('common.edit') }} ${user.user_id}`" > - Edit + {{ _("common.edit") }} @@ -209,10 +209,10 @@ :disabled="currentPage <= 1" class="px-3 py-1.5 text-sm border border-gray-300 rounded hover:bg-gray-50 disabled:opacity-40 disabled:cursor-not-allowed" > - Previous + {{ _("common.previous") }} - Page of + {{ _("common.page") }} {{ _("admin_users.pagination_page_of") }} @@ -250,7 +250,7 @@ type="button" @click="modalOpen = false" class="text-gray-400 hover:text-gray-600 focus:outline-none" - aria-label="Close dialog" + aria-label="{{ _('admin_users.modal_close_aria') }}" > @@ -261,7 +261,7 @@|||||||||||||
| Username | -Display Name | -Status | -Role | -Created | -Actions | +{{ _("admin_users.col_username") }} | +{{ _("admin_users.col_email") }} | +{{ _("admin_users.col_display_name") }} | +{{ _("common.status") }} | +{{ _("admin_users.col_role") }} | +{{ _("common.created") }} | +{{ _("common.actions") }} | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| - Loading… + {{ _("admin_users.local_loading") }} | |||||||||||||
| - No local accounts yet. - + {{ _("admin_users.local_no_accounts") }} + | @@ -512,34 +512,34 @@ type="button" @click="openEditLocalUserModal(lu)" class="inline-flex items-center px-2.5 py-1.5 text-xs font-medium rounded border border-gray-300 text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-1 focus:ring-blue-500 mr-1" - :aria-label="`Edit account for ${lu.username}`" + :aria-label="`{{ _('common.edit') }} ${lu.username}`" > - Edit + {{ _("common.edit") }} @@ -562,44 +562,44 @@ > | ||||||||||||