app/soc/templates/soc/mentor/public.html
author Pawel Solyga <Pawel.Solyga@gmail.com>
Sat, 31 Jan 2009 22:23:23 +0000
changeset 1132 046668855732
parent 1131 9dd535241841
child 1174 7316a2989134
permissions -rw-r--r--
Replace name_on_certificates property with name_on_documents, since mentors, club admins, hosts and org admins don't get certificates it's better to name it 'Name on documents' which can indicate any kind of documents including awards certificates. Also don't show name_on_documents in public Role profiles, instead show user public name in that place. 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 %}
1132
046668855732 Replace name_on_certificates property with name_on_documents, since mentors, club admins, hosts and org admins don't get certificates it's better to name it 'Name on documents' which can indicate any kind of documents including awards certificates. Also don't show name_on_documents in public Role profiles, instead show user public name in that place.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents: 1131
diff changeset
    25
  {% readonly_field_as_table_row entity.user.fields.public_name.label entity.user.public_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 %}