mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
removed catgeories from post teaser, kept placeholder
This commit is contained in:
parent
0d3863fb9a
commit
3f7933bdf7
@ -23,18 +23,7 @@
|
|||||||
<div class="content hyphenate-text" v-html="excerpt" />
|
<div class="content hyphenate-text" v-html="excerpt" />
|
||||||
<!-- eslint-enable vue/no-v-html -->
|
<!-- eslint-enable vue/no-v-html -->
|
||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="categories">
|
<div class="categories-placeholder"></div>
|
||||||
<hc-category
|
|
||||||
v-for="category in post.categories"
|
|
||||||
:key="category.id"
|
|
||||||
v-tooltip="{
|
|
||||||
content: $t(`contribution.category.name.${category.slug}`),
|
|
||||||
placement: 'bottom-start',
|
|
||||||
delay: { show: 500 },
|
|
||||||
}"
|
|
||||||
:icon="category.icon"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<counter-icon
|
<counter-icon
|
||||||
icon="bullhorn"
|
icon="bullhorn"
|
||||||
:count="post.shoutedCount"
|
:count="post.shoutedCount"
|
||||||
@ -67,7 +56,6 @@
|
|||||||
<script>
|
<script>
|
||||||
import UserTeaser from '~/components/UserTeaser/UserTeaser'
|
import UserTeaser from '~/components/UserTeaser/UserTeaser'
|
||||||
import ContentMenu from '~/components/ContentMenu/ContentMenu'
|
import ContentMenu from '~/components/ContentMenu/ContentMenu'
|
||||||
import HcCategory from '~/components/Category'
|
|
||||||
import HcRibbon from '~/components/Ribbon'
|
import HcRibbon from '~/components/Ribbon'
|
||||||
import CounterIcon from '~/components/_new/generic/CounterIcon/CounterIcon'
|
import CounterIcon from '~/components/_new/generic/CounterIcon/CounterIcon'
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
@ -77,7 +65,6 @@ export default {
|
|||||||
name: 'PostTeaser',
|
name: 'PostTeaser',
|
||||||
components: {
|
components: {
|
||||||
UserTeaser,
|
UserTeaser,
|
||||||
HcCategory,
|
|
||||||
HcRibbon,
|
HcRibbon,
|
||||||
ContentMenu,
|
ContentMenu,
|
||||||
CounterIcon,
|
CounterIcon,
|
||||||
@ -181,7 +168,7 @@ export default {
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
> .categories {
|
> .categories-placeholder {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user