Merge pull request #12 from zsjy/dev

1.2.1
This commit is contained in:
mjking 2024-05-07 15:14:49 +08:00 committed by GitHub
commit a87e233ad7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,7 +11,7 @@
<li class="item" th:each="comment : ${comments}"> <li class="item" th:each="comment : ${comments}">
<div class="user" <div class="user"
th:with=" th:with="
emailHash = ${comment.spec.owner.annotations['email-hash']}, emailHash = ${comment.spec.owner.annotations != null ? comment.spec.owner.annotations['email-hash'] : ''},
userA = ${comment.owner.avatar}, userA = ${comment.owner.avatar},
img = ${#strings.isEmpty(userA) && !#strings.isEmpty(emailHash) ? theme.config.basic_info.providerMirror+'/avatar/'+emailHash : userA}"> img = ${#strings.isEmpty(userA) && !#strings.isEmpty(emailHash) ? theme.config.basic_info.providerMirror+'/avatar/'+emailHash : userA}">
<img width="35" height="35" th:unless="${#strings.isEmpty(img)}" class="avatar" th:src="${img}" <img width="35" height="35" th:unless="${#strings.isEmpty(img)}" class="avatar" th:src="${img}"