`r`n
{% if request.endpoint in ['register', 'login', 'auth.register', 'auth.login'] %}
🔨 RateRight
{% if 'register' in request.endpoint %}
Log in
{% elif 'login' in request.endpoint %}
Sign up
{% endif %}
{% else %}
RateRight
{% if current_user.is_authenticated %}
Dashboard
Jobs
{% if current_user.role == 'contractor' or current_user.role == 'employer' %}
Post New Job
My Posted Jobs
{% endif %}
Browse All Jobs
{% if current_user.role == 'worker' %}
Jobs For Me
{% endif %}
Applications
{% if current_user.role == 'worker' %}
My Applications
{% endif %} {% if current_user.role == 'contractor' or current_user.role == 'employer' %}
Received Applications
{% endif %}
Contracts
All Contracts
Pending Signature
Active Contracts
Completed
Rate & Review
Payments
{% if current_user.role == 'worker' %}
My Earnings
Pending Payouts
{% endif %} {% if current_user.role == 'contractor' or current_user.role == 'employer' %}
Payment History
Due Payments
{% endif %}
Invoices
Messages {% if unread_messages_count and unread_messages_count > 0 %}
{{ unread_messages_count }}
{% endif %}
Account
My Profile
Edit Profile
Verification
Insurance
Settings
Notifications {% if unread_notifications_count and unread_notifications_count > 0 %}
{{ unread_notifications_count }}
{% endif %}
Logout
{% else %}
Home
Browse Jobs
Login
Get Started
{% endif %}
{% endif %} {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
{% for category, message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% endwith %}
{% block content %}{% endblock %}
{% block scripts %}{% endblock %}