| {% extends base_layout %} |
| {% 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/gsoc/buttons.css" /> |
| <link rel="stylesheet" type="text/css" media="screen" href="/soc/content/{{ app_version }}/css/gsoc/uniform.default.css" /> |
| {% endblock stylesheets %} |
| |
| |
| {% block usermenu %} |
| {{ host_actions.render }} |
| {% endblock usermenu %} |
| |
| |
| {% block page_content %} |
| <div id="organization-name" class="full home-block-1"> |
| |
| {% if submit_tax_link and submit_enrollment_link %} |
| <div id="submit-link" class="org-page-link"> |
| <a href="{{ submit_tax_link }}">Submit tax form</a> |
| | <a href="{{ submit_enrollment_link }}">Submit enrollment form</a> |
| </div> |
| {% endif %} |
| </div> |
| |
| |
| <!-- begin user block --> |
| {{ profile_template.render }} |
| <!-- end user block --> |
| |
| <!-- begin link block --> |
| {% for link in links %} |
| {{ link|urlizetrunc:50 }} |
| {% endfor %} |
| <!-- end link block --> |
| |
| {% endblock page_content %} |
| |
| |
| {% block dependencies %} |
| [ |
| dep.uniform, |
| dep.melange.action, |
| css("/soc/content/{{ app_version }}/css/gsoc/readonly.css"), |
| null, |
| tc( |
| "/soc/content/{{ app_version }}/js/templates/modules/gsoc/profile_show/base.js", |
| { |
| {% if host_actions.toggle_buttons %} |
| host_toggle_buttons: [ |
| {% for button in host_actions.toggle_buttons %} |
| { |
| id: "{{ button.id }}", |
| type: "{{ button.type }}", |
| post_url: "{{ button.post_url }}", |
| state: "{{ button.state }}", |
| checked_label: "{{ button.labels.checked }}", |
| unchecked_label: "{{ button.labels.unchecked }}" |
| }, |
| {% endfor %} |
| ] |
| {% endif %} |
| } |
| ) |
| ] |
| {% endblock dependencies %} |