Compare commits

..

No commits in common. "b555c5684774319fb23234b6d6ea05a19a6f5027" and "9834777f9478f34a6fe413775dd5711a2914aac4" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ class EmailService:
'appointment': appointment,
'preferred_dates': appointment.get_preferred_dates_display(),
'preferred_times': appointment.get_preferred_time_slots_display(),
'admin_dashboard_url': "https://attunehearttherapy.com/admin/dashboard"
'admin_dashboard_url': f"{settings.FRONTEND_URL}/admin/appointments" if hasattr(settings, 'FRONTEND_URL') else '/admin/'
}
html_message = render_to_string('emails/admin_notification.html', context)

View File

@ -271,7 +271,7 @@
<!-- Action Button -->
<div class="action-section">
<a href="{{ admin_dashboard_url }}" target="_blank" class="button">
<a href="{{ admin_dashboard_url }}" class="button">
Review Appointment Request
</a>
</div>