mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-01 15:09:14 +00:00
i18n for user_profile_get
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
{% load i18n %}
|
||||
<div id="user-profile" class="user-profile ovhd hide"></div>
|
||||
<textarea id="jtemplate" class="hide">
|
||||
{#if !$T.err_msg}
|
||||
<div class="pic fleft">
|
||||
<img class="avatar" width="80" height="80" alt="{$T.email}" />
|
||||
{#if $T.new_user}
|
||||
<button id="add-as-contact">加为联系人</button>
|
||||
<button id="add-as-contact">{% trans "Add as contact" %}</button>
|
||||
{#/if}
|
||||
</div>
|
||||
|
||||
@@ -23,13 +24,13 @@
|
||||
{#if $T.new_user}
|
||||
<form id="add-as-contact-form" class="hide" action="{{ SITE_ROOT }}contacts/add/" method="post">
|
||||
<input type="hidden" name="user_email" value="{{ request.user.username }}" id="id_user_email" />
|
||||
<label>邮箱:</label><br />
|
||||
<label>{% trans "Email" %}</label><br />
|
||||
<input id="id_contact_email" type="text" name="contact_email" maxlength="255" value="{$T.email}" /><br />
|
||||
<label>名字(可选):</label><br />
|
||||
<label>{% trans "Name(optional)" %}</label><br />
|
||||
<input id="id_contact_name" type="text" name="contact_name" maxlength="255" /><br />
|
||||
<label>备注(可选):</label><br />
|
||||
<label>{% trans "Note(optional)" %}</label><br />
|
||||
<input id="id_note" type="text" name="note" maxlength="255" /><br />
|
||||
<input type="submit" value="提交" class="submit" />
|
||||
<input type="submit" value="{% trans "Submit" %}" class="submit" />
|
||||
</form>
|
||||
{#/if}
|
||||
|
||||
|
Reference in New Issue
Block a user