Files
ihrm/templates/settings.html
Aarush Dimri ab332c315a Update settings.html (#938)
The “settings.html” template has an else branch that shows Outlook Mail. That link assumes the Outlook integration app/urls are installed. Incase they aren’t, the reverse fails.

Using {% url 'outlook_view_records' as outlook_url %} makes the {% url %} tag not raise if the name doesn’t exist; it just sets an empty string. Then the {% if outlook_url %} hides the link.
2025-10-09 12:02:33 +05:30

22 KiB