{% extends "v2/modules/gsoc/base.html" %}
{% comment %}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
{% endcomment %}

{% block page_content %}
  {% if alert_msg %}
    <div id="user-message" class="error">
      {{ alert_msg|safe }}
    </div>
  {% endif %}
  <h1 id="main-page-title">{{ user.name }}'s Dashboard</h1>
  {% for component in components %}
    {{ component.render|safe }}
  {% endfor %}
{% endblock page_content %}

{% block dependencies %}
  [
    dep.melange.menu,
    dep.melange.list,
    css("/soc/content/css/v2/gsoc/user-messages.css"),
    null,
    function () {
      if (melange_list_queue !== undefined && melange_list_queue instanceof Array) {
        jQuery.each(melange_list_queue, function (index, function_to_call) {
          function_to_call();
        });
      }
    }
  ]
{% endblock dependencies %}

{% extends "v2/modules/gsoc/base.html" %}
{% comment %}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
{% endcomment %}

{% block page_content %}
  {% if alert_msg %}
    <div id="user-message" class="error">
      {{ alert_msg|safe }}
    </div>
  {% endif %}
  <h1 id="main-page-title">{{ user.name }}'s Dashboard</h1>
  {% for component in components %}
    {{ component.render|safe }}
  {% empty %}
    There are no dashboard items available for you (yet).
    Come back here when you have submitted a proposal or are a member of an organization.
  {% endfor %}
{% endblock page_content %}

{% block dependencies %}
  [
    dep.melange.menu,
    dep.melange.list,
    css("/soc/content/css/v2/gsoc/user-messages.css"),
    null,
    function () {
      if (melange_list_queue !== undefined && melange_list_queue instanceof Array) {
        jQuery.each(melange_list_queue, function (index, function_to_call) {
          function_to_call();
        });
      }
    }
  ]
{% endblock dependencies %}

Add explanatory text for empty dashboards.
Add explanatory text for empty dashboards.
