{% extends "layout.html" %}
{% block main %}
{% from "flask_user/_macros.html" import back_btn %}

  {{ back_btn(PORTAL,'Home') }}

  <h3 class="tnth-headline">About TrueNTH</h3>

  <p>TrueNTH represents the journey men and their loved ones travel during and after a prostate cancer diagnosis, treatment, and recovery.</p>

  <p>TrueNTH provides tools and strategies in multiple categories, including treatment decision making, sexual health, symptom management, exercise, diet, and connects with other men and caregivers traveling the same path. Our website provides innovative programs designed by leading experts from across the country.</p>

  <p>TrueNTH is funded by the <a href="https://us.movember.com/">Movember Foundation</a>, an international non-profit seeking to improve men’s health.</p>

  {% if config.metadata.version %}
  <br />
  <div class="pull-right text-muted smaller-text">TrueNTH Version: {{ config.metadata.version }}</div>
  {% endif %}
{% endblock %}

{% extends "layout.html" %}
{% block main %}
{% from "flask_user/_macros.html" import back_btn %}

  {{ back_btn(PORTAL,'Home') }}

  <h3 class="tnth-headline">About TrueNTH</h3>

  <p>TrueNTH represents the journey men and their loved ones travel during and after a prostate cancer diagnosis, treatment, and recovery.</p>

  <p>TrueNTH provides tools and strategies in multiple categories, including treatment decision making, sexual health, symptom management, exercise, diet, and connects with other men and caregivers traveling the same path. Our website provides innovative programs designed by leading experts from across the country.</p>

  <p>TrueNTH is funded by the <a href="https://us.movember.com/">Movember Foundation</a>, an international non-profit seeking to improve men’s health.</p>

  {% if config.metadata.version %}
  <br />
  <div class="pull-right text-muted smaller-text">TrueNTH Version: {{ config.metadata.version }}</div>
  {% endif %}
{% endblock %}

{% block document_ready %}

/*** Test of grabbing Liferay content - FIXME - CORS issues ***/
$(document).ready(function(){
  $.ajax ({
    type: "GET",
    // Returns HTML?
    url: 'https://stg-cms.us.truenth.org/widget/web/guest/home/-/56_INSTANCE_Qt5ELGG09KAi'
    // Returns XML?
    //url: 'https://stg-cms.us.truenth.org/c/journal/get_latest_article_content?groupId=20182&articleId=43478'
  }).done(function(data) {
    // Output what we retrieve to console for testing
    console.log(data);
  }).fail(function() {
    console.log("Problem retrieving data from server.");
  });
});

{% endblock %}


Test AJAX call to Liferay from shared services. Issues with CORS.
Test AJAX call to Liferay from shared services. Issues with CORS.
