blob: 9a05a7dd19e8af4db38e52636c0aee77d2097fe6 [file] [log] [blame]
{% extends "modules/gci/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 stylesheets %}
{{ block.super }}
<link rel="stylesheet" type="text/css" media="screen" href="/soc/content/{{ app_version }}/css/gci/readonly.css" />
<link rel="stylesheet" type="text/css" media="screen" href="/soc/content/{{ app_version }}/css/gci/buttons.css" />
{% endblock stylesheets %}
{% block page_content %}
<div id="profile-show" class="block full home-block-1">
<div id="title-profile-show" class="block block-user-welcome clearfix">
<div id="title-profile-show-content" class="block-user-welcome-title">
{% if user_role %}
<span class="subhead">{{ user_role }}</span>
{% endif %}
<span class="name">Profile</span>
</div>
{% if student_task_link %}
<a class="btn" href="{{ student_task_link }}">Tasks list</a>
{% endif %}
</div>
</div>
<!-- begin student forms block -->
{{ student_forms_template.render }}
<!-- end student forms block -->
<!-- begin user block -->
{{ user.render }}
<!-- end user block -->
<!-- begin profile block -->
{{ profile.render }}
<!-- end profile block -->
{% endblock page_content %}
{% block dependencies %}
[
dep.melange.action,
function () {
/* Create the project featured button and make it post using ajax. */
melange.action.toggleButton(
"verify-consent-form", "on_off", "",
"{{ verify_consent_form_init }}",
{checked: "Verified",
unchecked: "Not verified"});
melange.action.toggleButton(
"verify-student-id-form", "on_off", "",
"{{ verify_student_id_form_init }}",
{checked: "Verified",
unchecked: "Not verified"});
}
]
{% endblock dependencies %}