app/soc/templates/soc/user/edit_profile.html
changeset 1043 5e15994b2033
child 1076 063194eaf87b
equal deleted inserted replaced
1042:edd125206703 1043:5e15994b2033
       
     1 {% extends "soc/base.html" %}
       
     2 {% comment %}
       
     3 Licensed under the Apache License, Version 2.0 (the "License");
       
     4 you may not use this file except in compliance with the License.
       
     5 You may obtain a copy of the License at
       
     6 
       
     7   http://www.apache.org/licenses/LICENSE-2.0
       
     8 
       
     9 Unless required by applicable law or agreed to in writing, software
       
    10 distributed under the License is distributed on an "AS IS" BASIS,
       
    11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
       
    12 See the License for the specific language governing permissions and
       
    13 limitations under the License.
       
    14 {% endcomment %}
       
    15 {% load forms_helpers %}
       
    16 {% block page_title %}User Profile{% endblock %}
       
    17 {% block header_title %}
       
    18 {% if user %}
       
    19 Modify Existing User Profile for {{ user.name }} <a href="mailto:{{ account.email }} ">&lt;{{ account.email }}&gt;</a>
       
    20 {% else %}
       
    21 Create a New User Profile for <a href="mailto:{{ account.email }} ">&lt;{{ account.email }}&gt;</a>
       
    22 {% endif %}
       
    23 {% endblock %}
       
    24 {% block body %}
       
    25 <p>
       
    26 <p>
       
    27 {% block instructions %}
       
    28 Please use this form to set basic site-wide settings for your participation in Google Open Source Programs.
       
    29 {% endblock %}
       
    30 </p>
       
    31 <form method="POST">
       
    32  <table>
       
    33   {% field_as_table_row form.name %}
       
    34   <tr>
       
    35    <td class="fieldhelptext" colspan="4">
       
    36 While you can use your real name, like <tt>First Last</tt>, please
       
    37 keep in mind that this public name will be used as your alias
       
    38 <b><i>throughout the site</i></b>, displayed to all users, for comments,
       
    39 document ownership, and the like.  You can change this public name at any
       
    40 time.<br>
       
    41 <br>
       
    42 <b><i>Please</i> do not <i>use your real name if you are a minor (not an
       
    43 adult) where you live.</i></b>
       
    44    </td>
       
    45   </tr>
       
    46   <tr><td colspan="4">&nbsp;</td></tr>
       
    47 
       
    48   {% field_as_table_row form.link_id %}
       
    49   <tr>
       
    50    <td class="fieldhelptext" colspan="4">
       
    51 This <i>Link ID</i> is used throughout the site when creating various URL
       
    52 links related to you and content you create.  As a result, it may only
       
    53 consist of lower ASCII characters, digits, and underscores.  Also, it must
       
    54 be unique and not in use by any other user of the site.
       
    55    </td>
       
    56   </tr>
       
    57   <tr><td colspan="4">&nbsp;</td></tr>
       
    58 
       
    59 {% if tos_link %}
       
    60   {% field_as_table_row form.agrees_to_tos %}
       
    61   <tr>
       
    62    <td class="fieldhelptext" colspan="4">
       
    63 In order to participate on this site, you must agree to the
       
    64 <a href="{{tos_link}}">site-wide Terms of Service</a>.<br><br>
       
    65 (There may also be additional Terms of Service specific to participation
       
    66 in certain Programs or Groups.  Those are agreed to elsewhere on the site,
       
    67 when signing up for the specific participation Roles.)
       
    68    </td>
       
    69   </tr>
       
    70   <tr><td colspan="4">&nbsp;</td></tr>
       
    71 {% endif %}
       
    72 
       
    73  </table>
       
    74  <table>
       
    75   <tr>
       
    76     {% block submit_buttons %}
       
    77    <td> 
       
    78     <input style="font-weight: bold" type="submit" value="Save Changes"/></span>
       
    79    </td>
       
    80    <td>
       
    81     <input type="button" onclick="location.href='/'" value="Cancel"/>
       
    82    </td>
       
    83     {% endblock %}
       
    84   </tr>
       
    85  </table>
       
    86 </form>
       
    87 </p>
       
    88 {% endblock %}