mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 When preferredName is the same as the package name, the package name is not displayed redundantly (#16613)
This commit is contained in:
parent
4b1e79bd15
commit
8d1b761b11
1 changed files with 3 additions and 3 deletions
|
|
@ -261,7 +261,7 @@ export const bazaar = {
|
|||
</div>
|
||||
<div class="fn__flex-1 fn__flex-column">
|
||||
<div class="b3-card__info fn__flex-1">
|
||||
${item.preferredName} <span class="ft__on-surface ft__smaller">${item.name}</span>
|
||||
${item.preferredName}${item.preferredName !== item.name ? ` <span class="ft__on-surface ft__smaller">${item.name}</span>` : ""}
|
||||
<div class="b3-card__desc" title="${escapeAttr(item.preferredDesc) || ""}">
|
||||
${item.preferredDesc || ""}
|
||||
</div>
|
||||
|
|
@ -304,7 +304,7 @@ export const bazaar = {
|
|||
<div class="b3-card__img"><img src="${item.iconURL}" onerror="this.src='/stage/images/icon.png'"/></div>
|
||||
<div class="fn__flex-1 fn__flex-column">
|
||||
<div class="b3-card__info b3-card__info--left fn__flex-1">
|
||||
${item.preferredName} <span class="ft__on-surface ft__smaller">${item.name}</span>
|
||||
${item.preferredName}${item.preferredName !== item.name ? ` <span class="ft__on-surface ft__smaller">${item.name}</span>` : ""}
|
||||
<div class="b3-card__desc" title="${escapeAttr(item.preferredDesc) || ""}">${item.preferredDesc || ""}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -413,7 +413,7 @@ export const bazaar = {
|
|||
<div class="b3-card__img"><img src="${item.iconURL}" onerror="this.src='/stage/images/icon.png'"/></div>
|
||||
<div class="fn__flex-1 fn__flex-column">
|
||||
<div class="b3-card__info b3-card__info--left fn__flex-1">
|
||||
${item.preferredName} <span class="ft__on-surface ft__smaller">${item.name}</span>
|
||||
${item.preferredName}${item.preferredName !== item.name ? ` <span class="ft__on-surface ft__smaller">${item.name}</span>` : ""}
|
||||
<div class="b3-card__desc" title="${escapeAttr(item.preferredDesc) || ""}">${item.preferredDesc || ""}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue