diff --git a/apps/accounts/ui_views.py b/apps/accounts/ui_views.py index db14917..0435041 100644 --- a/apps/accounts/ui_views.py +++ b/apps/accounts/ui_views.py @@ -27,7 +27,7 @@ def onboarding_welcome(request, token=None): """ # If user is already authenticated and not provisional, redirect to dashboard if request.user.is_authenticated and not request.user.is_provisional: - return redirect('/dashboard/') + return redirect('/') context = { 'page_title': 'Welcome to PX360', @@ -44,7 +44,7 @@ def onboarding_step_content(request, step): # Check if user is provisional if not user.is_provisional: - return redirect('/dashboard/') + return redirect('/') # Get content for user's role content_list = get_wizard_content_for_user(user) diff --git a/templates/accounts/onboarding/checklist_list.html b/templates/accounts/onboarding/checklist_list.html index 1bed803..001f8dd 100644 --- a/templates/accounts/onboarding/checklist_list.html +++ b/templates/accounts/onboarding/checklist_list.html @@ -11,7 +11,7 @@
@@ -19,7 +19,7 @@
{% trans "No checklist items found" %}
diff --git a/templates/accounts/onboarding/complete.html b/templates/accounts/onboarding/complete.html index 49c85c0..e9b03a7 100644 --- a/templates/accounts/onboarding/complete.html +++ b/templates/accounts/onboarding/complete.html @@ -10,7 +10,7 @@{% trans "Your account has been successfully activated" %} @@ -18,7 +18,7 @@
{% trans "You've reviewed all system content" %} @@ -37,7 +37,7 @@
{% trans "All required items confirmed" %} @@ -48,7 +48,7 @@
{% trans "Your credentials are ready" %} @@ -60,7 +60,7 @@
@@ -76,7 +76,7 @@
diff --git a/templates/accounts/onboarding/content_list.html b/templates/accounts/onboarding/content_list.html index 7cde9be..fedab1b 100644 --- a/templates/accounts/onboarding/content_list.html +++ b/templates/accounts/onboarding/content_list.html @@ -11,7 +11,7 @@@@ -19,7 +19,7 @@
{% trans "No content found" %}
diff --git a/templates/accounts/onboarding/progress_detail.html b/templates/accounts/onboarding/progress_detail.html index ecf2bdd..0c62e78 100644 --- a/templates/accounts/onboarding/progress_detail.html +++ b/templates/accounts/onboarding/progress_detail.html @@ -11,11 +11,11 @@{{ user.email }}
@@ -47,12 +47,12 @@{{ log.description }}
{% if log.ip_address %} - + {{ log.ip_address }} {% endif %} @@ -204,7 +204,7 @@{% trans "No activity recorded yet" %}
diff --git a/templates/accounts/onboarding/provisional_list.html b/templates/accounts/onboarding/provisional_list.html index 7c88ddb..83e72ba 100644 --- a/templates/accounts/onboarding/provisional_list.html +++ b/templates/accounts/onboarding/provisional_list.html @@ -11,7 +11,7 @@@@ -19,7 +19,7 @@
{% trans "No provisional users found" %}
@@ -185,7 +185,7 @@ diff --git a/templates/accounts/onboarding/step_content.html b/templates/accounts/onboarding/step_content.html index 858a495..492903a 100644 --- a/templates/accounts/onboarding/step_content.html +++ b/templates/accounts/onboarding/step_content.html @@ -26,10 +26,10 @@@@ -20,14 +20,14 @@
{% trans "Understand the PX360 system" %} @@ -36,7 +36,7 @@
{% trans "Review and confirm key policies" %} @@ -45,7 +45,7 @@
{% trans "Create your account credentials" %} @@ -56,7 +56,7 @@
diff --git a/templates/appreciation/appreciation_detail.html b/templates/appreciation/appreciation_detail.html index 0b38955..581b78d 100644 --- a/templates/appreciation/appreciation_detail.html +++ b/templates/appreciation/appreciation_detail.html @@ -45,12 +45,12 @@
- + {% trans "Anonymous" %}
{% else %}- + {{ appreciation.sender.get_full_name }}
{% endif %} @@ -58,7 +58,7 @@- + {{ appreciation.recipient_name }}
- + {{ appreciation.sent_at|date:"F j, Y, g:i A" }}
- + {{ appreciation.get_visibility_display }}
- + {{ rel.sender.get_full_name }}
@@ -147,17 +147,17 @@@@ -21,7 +21,7 @@
{{ appreciation.message_en|truncatewords:15 }}
- + {{ appreciation.sent_at|date:"F j, Y, g:i A" }} {% if appreciation.department %} • - + {{ appreciation.department.name }} {% endif %} @@ -302,7 +302,7 @@ {% endif %} {% else %}{{ form.name_en.value|default:'Badge Name' }}
@@ -183,7 +183,7 @@
{% trans "Create badges to motivate and recognize achievements" %}
- + {% trans "Add Badge" %}{{ form.name_en.value|default:'Category Name' }}
{% trans "Create categories to organize appreciations" %}
- + {% trans "Add Category" %}{% trans "Try changing the filters or select a different time period" %}
{% trans "Share your appreciation with colleagues" %}
@@ -215,7 +215,7 @@{% trans "See your earned badges" %}
@@ -227,7 +227,7 @@{% trans "View your appreciations" %}
diff --git a/templates/appreciation/my_badges.html b/templates/appreciation/my_badges.html index 92976e7..feb8399 100644 --- a/templates/appreciation/my_badges.html +++ b/templates/appreciation/my_badges.html @@ -16,12 +16,12 @@{% trans "Total Appreciations Received" %}
{% trans "Badges Earned" %}
{% trans "Available Badges" %}
{% trans "Start receiving appreciations to earn badges!" %} @@ -152,7 +152,7 @@
{% trans "No badges available" %}