From d16c46e2909ebe4bb72e7a9ac59af1025158efee Mon Sep 17 00:00:00 2001 From: Jens Luedicke Date: Wed, 9 Jul 2025 10:48:54 +0200 Subject: [PATCH] Disable Dashboard due to Widget issues. --- app.py | 6 ++++-- templates/layout.html | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) 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 %}
  • Home
  • Time Tracking
  • -
  • Dashboard
  • + +
  • Task Management
  • Sprints
  • Notes
  • @@ -146,7 +147,8 @@ {% endif %} {% elif g.user.role in [Role.TEAM_LEADER, Role.SUPERVISOR] %} -
  • Dashboard
  • + + {% if g.user.role == Role.SUPERVISOR %}
  • Manage Projects
  • {% endif %}