更新 avatar-selector.tpl

This commit is contained in:
2020-07-10 08:04:51 +00:00
parent ffd061cb5b
commit b51146dea8

View File

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