app/soc/templates/soc/mentor/public.html
author Pawel Solyga <Pawel.Solyga@gmail.com>
Mon, 02 Feb 2009 10:15:07 +0000
changeset 1174 7316a2989134
parent 1132 046668855732
permissions -rw-r--r--
Fix broken Roles public templates. By mistake we used entity.user.public_name instead of entity.user.name. Patch by: Pawel Solyga Reviewed by: to-be-reviewed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1130
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     1
{% extends "soc/base.html" %}
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     2
{% comment %}
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     3
Licensed under the Apache License, Version 2.0 (the "License");
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     4
you may not use this file except in compliance with the License.
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     5
You may obtain a copy of the License at
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     6
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     7
  http://www.apache.org/licenses/LICENSE-2.0
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     8
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     9
Unless required by applicable law or agreed to in writing, software
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    10
distributed under the License is distributed on an "AS IS" BASIS,
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    11
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    12
See the License for the specific language governing permissions and
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    13
limitations under the License.
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    14
{% endcomment %}
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    15
{% load forms_helpers %}
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    16
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    17
{% block header_title %}
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    18
{{ page_name }} {{ entity.link_id }} for {{ entity.scope_path }}
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    19
{% endblock %}
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    20
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    21
{% block body %}
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    22
<p>
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    23
 <table>
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    24
  {% readonly_field_as_table_row entity.fields.link_id.label entity.link_id %}
1174
7316a2989134 Fix broken Roles public templates. By mistake we used entity.user.public_name instead of entity.user.name.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1132
diff changeset
    25
  {% readonly_field_as_table_row entity.user.fields.name.label entity.user.name %}
1130
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    26
  {% readonly_field_as_table_row entity.fields.im_handle.label entity.im_handle %}
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    27
  {% readonly_field_as_table_row entity.fields.res_country.label entity.res_country %}
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    28
 </table>
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    29
</p>
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    30
{% block manage %} {% endblock %}
9bdbb18d622e Added view and templates for mentors.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    31
{% endblock %}