diff --git a/app/templates/main/dashboard.html b/app/templates/main/dashboard.html
index 3775397..2e33459 100644
--- a/app/templates/main/dashboard.html
+++ b/app/templates/main/dashboard.html
@@ -217,7 +217,26 @@
-
+ {% if recent_activities %}
+ {% for activity in recent_activities %}
+
+
+
+
+
+
+
{{ activity.description or 'Activity' }}
+
{{ activity.created_at|local_datetime_short }}
+
+
+
+ {% endfor %}
+ {% else %}
+
+ {% endif %}
diff --git a/app/utils/error_handlers.py b/app/utils/error_handlers.py
index 4e5ee94..0b9dcab 100644
--- a/app/utils/error_handlers.py
+++ b/app/utils/error_handlers.py
@@ -22,7 +22,7 @@ def get_user_friendly_message(status_code, error_description=None):
},
404: {
'title': 'Page Not Found',
- 'message': 'The page or resource you\'re looking for doesn\'t exist.',
+ 'message': 'The page or resource you\'re looking for was not found.',
'recovery': ['Go to Dashboard', 'Go Back']
},
409: {
diff --git a/tests/test_error_handling.py b/tests/test_error_handling.py
index 279af37..df661b4 100644
--- a/tests/test_error_handling.py
+++ b/tests/test_error_handling.py
@@ -142,9 +142,9 @@ def test_graceful_degradation():
@pytest.mark.unit
@pytest.mark.error_handling
-def test_error_handling_js_loaded(client):
+def test_error_handling_js_loaded(authenticated_client):
"""Test that error handling JavaScript is loaded in base template"""
- response = client.get('/login')
+ response = authenticated_client.get('/dashboard')
assert response.status_code == 200
# Check that error-handling-enhanced.js is included
assert b'error-handling-enhanced.js' in response.data
diff --git a/tests/test_onboarding.py b/tests/test_onboarding.py
index dc3bd9b..82e565f 100644
--- a/tests/test_onboarding.py
+++ b/tests/test_onboarding.py
@@ -22,9 +22,9 @@ def test_onboarding_manager_exists():
@pytest.mark.unit
@pytest.mark.onboarding
-def test_onboarding_js_loaded(client):
+def test_onboarding_js_loaded(authenticated_client):
"""Test that onboarding JavaScript is loaded in base template"""
- response = client.get('/login')
+ response = authenticated_client.get('/dashboard')
assert response.status_code == 200
# Check that onboarding-enhanced.js is included
assert b'onboarding-enhanced.js' in response.data
@@ -113,9 +113,9 @@ def test_onboarding_files_exist():
@pytest.mark.unit
@pytest.mark.onboarding
-def test_onboarding_base_template_integration(client):
+def test_onboarding_base_template_integration(authenticated_client):
"""Test that onboarding scripts are included in base template"""
- response = client.get('/login')
+ response = authenticated_client.get('/dashboard')
assert response.status_code == 200
html = response.data.decode('utf-8')