{% extends "base.html" %} {% block title %}{{ app.name }}{% endblock %} {% block content %}

{{ app.name }}

{% if app.logo_url %} {{ app.name }} logo {% else %} No Logo {% endif %}

Description: {{ app.description }}

Developer: {{ app.developer }}

Contact Email: {{ app.contact_email }}

Launch URL: {{ app.launch_url }}

Client ID: {{ app.client_id }}

Scopes: {{ app.scopes }}

{% if app.website %}

Website: {{ app.website }}

{% endif %} {% if app_categories %}

Categories: {{ app_categories | map(attribute='name') | join(', ') }}

{% endif %} {% if app_specialties %}

Specialties: {{ app_specialties | map(attribute='name') | join(', ') }}

{% endif %} {% if app_os_supports %}

OS Support: {{ app_os_supports | map(attribute='name') | join(', ') }}

{% endif %} {% if app_ehr_supports %}

EHR Support: {{ app_ehr_supports | map(attribute='name') | join(', ') }}

{% endif %} {% if app.app_images %}
Additional Images:
{% for img_url in app.app_images.split(',') %}
App Image
{% endfor %}
{% endif %} {% if current_user.is_authenticated and current_user.id == app.user_id %} Edit App
{% endif %}
{% endblock %}