更新 avatar-selector.tpl
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
<div class="FormAccount-rowLabel">
|
||||
<label class="CDB-Text CDB-Size-medium is-semibold u-mainTextColor">
|
||||
<% if (inputName == "user[avatar_url]") { %>
|
||||
Avatar*
|
||||
个人图像*
|
||||
<% } else if (inputName == "organization[avatar_url]") { %>
|
||||
Organization logo
|
||||
图标
|
||||
<% } %>
|
||||
</label>
|
||||
</div>
|
||||
@@ -37,9 +37,9 @@
|
||||
<input class="js-inputAvatar" id="user_avatar_url" name="<%- inputName %>" type="hidden" value="<%- avatarURL %>" />
|
||||
<div class="FormAccount-rowInfo FormAccount-rowInfo--marginLeft">
|
||||
<% 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 { %>
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user