Fix catalog preview icons
This commit is contained in:
@@ -113,14 +113,6 @@ templ ThreadsCatalog(previews []CatalogThreadPreview, catalogContext CatalogCont
|
|||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
<div class="catalog-preview-counts-container">
|
<div class="catalog-preview-counts-container">
|
||||||
<span class="icons-container">
|
|
||||||
if preview.Locked {
|
|
||||||
<img src="/static/media/icons/lock.svg" alt="Locked" class="icon"/>
|
|
||||||
}
|
|
||||||
if preview.Pinned {
|
|
||||||
<img src="/static/media/icons/pin.svg" alt="Pinned" class="icon"/>
|
|
||||||
}
|
|
||||||
</span>
|
|
||||||
<strong class="catalog-preview-counts">
|
<strong class="catalog-preview-counts">
|
||||||
R: { replyCount } / I: { ipCount }
|
R: { replyCount } / I: { ipCount }
|
||||||
if catalogContext.IsAdmin {
|
if catalogContext.IsAdmin {
|
||||||
@@ -134,6 +126,14 @@ templ ThreadsCatalog(previews []CatalogThreadPreview, catalogContext CatalogCont
|
|||||||
</span>
|
</span>
|
||||||
}
|
}
|
||||||
</strong>
|
</strong>
|
||||||
|
<span style="margin-left: 5px;">
|
||||||
|
if preview.Locked {
|
||||||
|
<img src="/static/media/icons/lock.svg" alt="Locked" class="icon"/>
|
||||||
|
}
|
||||||
|
if preview.Pinned {
|
||||||
|
<img src="/static/media/icons/pin.svg" alt="Pinned" class="icon"/>
|
||||||
|
}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<h1 style="margin-top: 5px;">
|
<h1 style="margin-top: 5px;">
|
||||||
<a href={ templ.URL(preview.ThreadURL) } class="catalog-preview-link">
|
<a href={ templ.URL(preview.ThreadURL) } class="catalog-preview-link">
|
||||||
|
|||||||
Reference in New Issue
Block a user