更新 avatar-selector.tpl

remotes/origin/master
钟进 4 years ago
parent ffd061cb5b
commit b51146dea8

@ -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>

Loading…
Cancel
Save