mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Merge pull request #2627 from Human-Connection/2239-show-language-on-post-page
🍰 Added Language Tag For Posts
This commit is contained in:
commit
180f2746d4
@ -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.toUpperCase() }}
|
||||
</ds-tag>
|
||||
</div>
|
||||
<ds-space margin-bottom="small" />
|
||||
<!-- Tags -->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user