div(:id="'player_' + uid")
input.modal(
:id="'modalBio_' + uid"
type="checkbox"
)
div.bio-div(
role="dialog"
:data-checkbox="'modalBio_' + uid"
)
.card
div(v-if="st.user.id == uid")
div.buttons
button(@click="toggleEdit()")
| {{ st.tr[modeEdit ? "Cancel" : "Edit"] }}
button(
v-show="modeEdit"
@click="sendBio()"
)
| {{ st.tr["Send"] }}
fieldset(v-if="userBio !== undefined && modeEdit")
textarea(
@input="adjustHeight()"
v-model="userBio"
)
h3 {{ uname }}
.bio-content(
v-if="userBio !== undefined"
v-html="parseHtml(userBio)"
@click="modeEdit = !modeEdit"
)
.dialog.text-center {{ st.tr[infoMsg] }}
span(
:class="{ clickable: !!uname }"
@click="showBio()"
)
| {{ uname || "@nonymous" }}