app/soc/templates/soc/site/user/profile/lookup.html
changeset 445 31927f21970d
parent 444 6e50bfc6e5a7
child 446 0b479d573a4c
--- a/app/soc/templates/soc/site/user/profile/lookup.html	Wed Nov 05 23:33:22 2008 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,109 +0,0 @@
-{% 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 body %}
-<p>
-<p>
-{% block instructions %}
-Please use this form to look up an existing User in Google Open Source Programs.
-{% endblock %}
-</p>
-<form method="POST">
- <table>
-{% if found_user %}
-{% readonly_field_as_table_row "Id" found_user.id %}
-{% endif %}
-{% if email_error %}
-<tr>
- <td>&nbsp;</td>
- <td colspan="3" class="formfielderror">
-  {{ email_error }}
- </td>
-</tr>
-{% endif %}
-  {% field_as_table_row form.id %}
-{% if link_name_error %}
-<tr>
- <td>&nbsp;</td>
- <td colspan="3" class="formfielderror">
-  {{ link_name_error }}
- </td>
-</tr>
-{% endif %}
-  {% field_as_table_row form.link_name %}
-{% if found_user %}
- <tr>
-  <td class="formfieldlabel">Nick name</td>
-  <td>{{ found_user.nick_name }}</td>
-  <td class="formfieldrequired">&nbsp;</td>
-  <td class="formfieldhelptext">&nbsp;</td>
- </tr>
- <tr>
-  <td class="formfieldlabel">Is Developer</td>
-  <td>{{ found_user.is_developer }}</td>
-  <td class="formfieldrequired">&nbsp;</td>
-  <td class="formfieldhelptext">&nbsp;</td>
- </tr>
- 
- {% if found_user.former_ids %}
- <tr>
-  <td class="formfieldlabel">Former ids</td>
-  <td>
-      {% for former_id in found_user.former_ids %}
-      {{ former_id }}<br />
-      {% endfor %}
-  </td>
-  <td class="formfieldrequired">&nbsp;</td>
-  <td class="formfieldhelptext">&nbsp;</td>
- </tr>
- {% endif %}
-{% endif %}
-  <tr>
-   <td colspan="4">&nbsp;</td>
-  </tr>
-  <tr>
-   <td> 
-    <input type="submit" style="font-weight: bold" name="lookup" value="Look up User"/></span>
-   </td>
-   <td colspan="2">&nbsp;</td>
-   <td>
-    {% if lookup_message %}<b><i>{{ lookup_message }}</i></b>{% else %}&nbsp;{% endif %}
-   </td>
-  </tr>
-{% if edit_link %}
-  <tr>
-   <td colspan="4">&nbsp;</td>
-  </tr>
-  <tr>
-   <td colspan="4">
-    <a href="{{ edit_link }}">Edit the User profile of {{ found_user.nick_name }}.</a>
-   </td>
-  </tr>
-{% endif %}
-{% if lookup_link %}
-  <tr>
-   <td colspan="4">&nbsp;</td>
-  </tr>
-  <tr>
-   <td colspan="4">
-    <a href="{{ lookup_link }}">The specified User was not found, but similar
-     Users are listed here.</a>
-   </td>
-  </tr>
-{% endif %} 
- </table>
-</form>
-</p>
-{% endblock %}