diff --git a/app.py b/app.py index d9adc9d..8d1e146 100644 --- a/app.py +++ b/app.py @@ -833,8 +833,10 @@ def verify_email(token): @role_required(Role.TEAM_MEMBER) @company_required def dashboard(): - """User dashboard with configurable widgets.""" - return render_template('dashboard.html', title='Dashboard') + """User dashboard with configurable widgets - DISABLED due to widget issues.""" + # Redirect to home page instead of dashboard + flash('Dashboard is temporarily disabled. Redirecting to home page.', 'info') + return redirect(url_for('index')) @app.route('/profile', methods=['GET', 'POST']) diff --git a/templates/layout.html b/templates/layout.html index b1acaa1..3846385 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -126,7 +126,8 @@ {% if g.user %}