{% macro service_link(service, endpoint, link_text) %}
  {% if service %}
    <a class="usa-link" href="{{ url_for(endpoint, service_id=service.id) }}">{{ link_text }}</a>
  {% else %}
    <b>{{ link_text|capitalize }}</b>
  {% endif %}
{% endmacro %}
