app/soc/templates/soc/host/public.html
author Lennard de Rijk <ljvderijk@gmail.com>
Sat, 31 Jan 2009 21:32:29 +0000
changeset 1131 9dd535241841
parent 1067 ecf3df87b81c
child 1132 046668855732
permissions -rw-r--r--
Changed display_name to name_on_certificates in models/role.py. This is to make the intention of this property more clear as to display_name which would remind people of for instance nicknames or a replacement for their public name for this role. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed

{% extends "soc/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 %}
{% load forms_helpers %}

{% block header_title %}
{{ page_name }} for {{ entity.user.name }} ({{ entity.given_name }} {{ entity.surname }})
{% endblock %}

{% block body %}
<p>
 <table>
  {% readonly_field_as_table_row entity.fields.given_name.label entity.given_name %}
  {% readonly_field_as_table_row entity.fields.surname.label entity.surname %}
  {% readonly_field_as_table_row entity.fields.name_on_certificates.label entity.name_on_certificates %}
  <!-- TODO(pawel.solyga) make this generic -->
 </table>
</p>
{% block manage %} {% endblock %}
{% endblock %}