mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
added language tag for posts
This commit is contained in:
parent
9be1de9666
commit
3234c2e861
@ -19,6 +19,9 @@ export default {
|
||||
.category-tag {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
&.language {
|
||||
float: right;
|
||||
}
|
||||
|
||||
> .base-icon {
|
||||
margin-right: $space-xx-small;
|
||||
|
||||
@ -45,6 +45,11 @@
|
||||
:icon="category.icon"
|
||||
:name="$t(`contribution.category.name.${category.slug}`)"
|
||||
/>
|
||||
<!-- Post language -->
|
||||
<ds-tag v-if="post.language" class="category-tag language">
|
||||
<base-icon name="globe" />
|
||||
{{post.language ? post.language.toUpperCase(): null}}
|
||||
</ds-tag>
|
||||
</div>
|
||||
<ds-space margin-bottom="small" />
|
||||
<!-- Tags -->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user