更新 avatar-selector.tpl
This commit is contained in:
parent
ffd061cb5b
commit
b51146dea8
@ -2,9 +2,9 @@
|
|||||||
<div class="FormAccount-rowLabel">
|
<div class="FormAccount-rowLabel">
|
||||||
<label class="CDB-Text CDB-Size-medium is-semibold u-mainTextColor">
|
<label class="CDB-Text CDB-Size-medium is-semibold u-mainTextColor">
|
||||||
<% if (inputName == "user[avatar_url]") { %>
|
<% if (inputName == "user[avatar_url]") { %>
|
||||||
Avatar*
|
个人图像*
|
||||||
<% } else if (inputName == "organization[avatar_url]") { %>
|
<% } else if (inputName == "organization[avatar_url]") { %>
|
||||||
Organization logo
|
图标
|
||||||
<% } %>
|
<% } %>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
@ -37,9 +37,9 @@
|
|||||||
<input class="js-inputAvatar" id="user_avatar_url" name="<%- inputName %>" type="hidden" value="<%- avatarURL %>" />
|
<input class="js-inputAvatar" id="user_avatar_url" name="<%- inputName %>" type="hidden" value="<%- avatarURL %>" />
|
||||||
<div class="FormAccount-rowInfo FormAccount-rowInfo--marginLeft">
|
<div class="FormAccount-rowInfo FormAccount-rowInfo--marginLeft">
|
||||||
<% if (state === "error") { %>
|
<% if (state === "error") { %>
|
||||||
<p class="FormAccount-rowInfoText FormAccount-rowInfoText--error FormAccount-rowInfoText--maxWidth">There was an error uploading your avatar. Check the height and size (max 1MB) of the image</p>
|
<p class="FormAccount-rowInfoText FormAccount-rowInfoText--error FormAccount-rowInfoText--maxWidth">上传发生错误. </p>
|
||||||
<% } else { %>
|
<% } else { %>
|
||||||
<p class="FormAccount-rowInfoText FormAccount-rowInfoText--smaller">Recommended images should be 128x128 pixels of size</p>
|
<p class="FormAccount-rowInfoText FormAccount-rowInfoText--smaller">推荐尺寸 128x128 </p>
|
||||||
<% } %>
|
<% } %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user