mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Merge branch 'master' into 5983-change-design-of-topics(categories)-of-post-teaser
This commit is contained in:
commit
b41794aab8
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@ -293,7 +293,7 @@ jobs:
|
|||||||
echo "BUILD_COMMIT=${GITHUB_SHA}" >> $GITHUB_ENV
|
echo "BUILD_COMMIT=${GITHUB_SHA}" >> $GITHUB_ENV
|
||||||
- run: echo "BUILD_VERSION=${VERSION}-${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV
|
- run: echo "BUILD_VERSION=${VERSION}-${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV
|
||||||
- name: Repository Dispatch
|
- name: Repository Dispatch
|
||||||
uses: peter-evans/repository-dispatch@v1
|
uses: peter-evans/repository-dispatch@v2
|
||||||
with:
|
with:
|
||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
event-type: trigger-build-success
|
event-type: trigger-build-success
|
||||||
|
|||||||
@ -1,7 +1,16 @@
|
|||||||
<template>
|
<template>
|
||||||
<dropdown class="invite-button" offset="8" :placement="placement">
|
<dropdown class="invite-button" offset="8" :placement="placement">
|
||||||
<template #default="{ toggleMenu }">
|
<template #default="{ toggleMenu }">
|
||||||
<base-button icon="user-plus" circle ghost @click.prevent="toggleMenu" />
|
<base-button
|
||||||
|
icon="user-plus"
|
||||||
|
circle
|
||||||
|
ghost
|
||||||
|
v-tooltip="{
|
||||||
|
content: $t('invite-codes.button.tooltip'),
|
||||||
|
placement: 'bottom-start',
|
||||||
|
}"
|
||||||
|
@click.prevent="toggleMenu"
|
||||||
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template #popover>
|
<template #popover>
|
||||||
<div class="invite-button-menu-popover">
|
<div class="invite-button-menu-popover">
|
||||||
@ -15,10 +24,7 @@
|
|||||||
ghost
|
ghost
|
||||||
@click="copyInviteLink"
|
@click="copyInviteLink"
|
||||||
>
|
>
|
||||||
<ds-text bold>
|
<ds-text bold>{{ $t('invite-codes.copy-code') }}</ds-text>
|
||||||
{{ $t('invite-codes.copy-code') }}
|
|
||||||
{{ inviteCode.code }}
|
|
||||||
</ds-text>
|
|
||||||
</base-button>
|
</base-button>
|
||||||
</base-card>
|
</base-card>
|
||||||
</div>
|
</div>
|
||||||
@ -108,6 +114,6 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.invite-code {
|
.invite-code {
|
||||||
left: 50%;
|
margin-left: 25%;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -30,7 +30,7 @@ export default {
|
|||||||
/* dirty fix to override broken styleguide inline-styles */
|
/* dirty fix to override broken styleguide inline-styles */
|
||||||
.ds-grid {
|
.ds-grid {
|
||||||
grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)) !important;
|
grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)) !important;
|
||||||
gap: 16px !important;
|
gap: 32px 16px !important;
|
||||||
grid-auto-rows: 20px;
|
grid-auto-rows: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -42,7 +42,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-else class="categories-placeholder"></div>
|
<div v-else class="categories-placeholder"></div>
|
||||||
<counter-icon
|
<counter-icon
|
||||||
icon="bullhorn"
|
icon="heart-o"
|
||||||
:count="post.shoutedCount"
|
:count="post.shoutedCount"
|
||||||
:title="$t('contribution.amount-shouts', { amount: post.shoutedCount })"
|
:title="$t('contribution.amount-shouts', { amount: post.shoutedCount })"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
:loading="loading"
|
:loading="loading"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
:filled="shouted"
|
:filled="shouted"
|
||||||
icon="bullhorn"
|
icon="heart-o"
|
||||||
circle
|
circle
|
||||||
@click="toggle"
|
@click="toggle"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@ -21,7 +21,7 @@ storiesOf('Generic/BaseButton', module)
|
|||||||
template: `
|
template: `
|
||||||
<div>
|
<div>
|
||||||
<base-button icon="edit">With Text</base-button>
|
<base-button icon="edit">With Text</base-button>
|
||||||
<base-button icon="bullhorn" />
|
<base-button icon="heart-o" />
|
||||||
<base-button icon="trash" disabled />
|
<base-button icon="trash" disabled />
|
||||||
<base-button icon="trash" loading />
|
<base-button icon="trash" loading />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
<div class="metadata">
|
<div class="metadata">
|
||||||
<span class="counts">
|
<span class="counts">
|
||||||
<counter-icon icon="comments" :count="option.commentsCount" soft />
|
<counter-icon icon="comments" :count="option.commentsCount" soft />
|
||||||
<counter-icon icon="bullhorn" :count="option.shoutedCount" soft />
|
<counter-icon icon="heart-o" :count="option.shoutedCount" soft />
|
||||||
<counter-icon icon="hand-pointer" :count="option.clickedCount" soft />
|
<counter-icon icon="hand-pointer" :count="option.clickedCount" soft />
|
||||||
<counter-icon icon="eye" :count="option.viewedTeaserCount" soft />
|
<counter-icon icon="eye" :count="option.viewedTeaserCount" soft />
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@ -270,7 +270,7 @@
|
|||||||
"filterFollow": "Beiträge von Nutzern filtern, denen ich folge",
|
"filterFollow": "Beiträge von Nutzern filtern, denen ich folge",
|
||||||
"filterMasonryGrid": {
|
"filterMasonryGrid": {
|
||||||
"myFriends": "Nutzer denen ich folge",
|
"myFriends": "Nutzer denen ich folge",
|
||||||
"myGroups": "Meine Gruppen",
|
"myGroups": "Aus meinen Gruppen",
|
||||||
"myTopics": "Meine Themen",
|
"myTopics": "Meine Themen",
|
||||||
"noFilter": "Beiträge filtern"
|
"noFilter": "Beiträge filtern"
|
||||||
},
|
},
|
||||||
@ -515,10 +515,13 @@
|
|||||||
"no-results": "Keine Beiträge gefunden."
|
"no-results": "Keine Beiträge gefunden."
|
||||||
},
|
},
|
||||||
"invite-codes": {
|
"invite-codes": {
|
||||||
"copy-code": "Code:",
|
"button": {
|
||||||
|
"tooltip": "Lade deine Freunde ein"
|
||||||
|
},
|
||||||
|
"copy-code": "Einladungslink kopieren",
|
||||||
"copy-success": "Einladungscode erfolgreich in die Zwischenablage kopiert",
|
"copy-success": "Einladungscode erfolgreich in die Zwischenablage kopiert",
|
||||||
"not-available": "Du hast keinen Einladungscode zur Verfügung!",
|
"not-available": "Du hast keinen Einladungscode zur Verfügung!",
|
||||||
"your-code": "Kopiere deinen Einladungscode in die Ablage:"
|
"your-code": "Sende diesen Link per E-Mail oder in sozialen Medien, um deine Freunde einzuladen:"
|
||||||
},
|
},
|
||||||
"login": {
|
"login": {
|
||||||
"email": "Deine E-Mail",
|
"email": "Deine E-Mail",
|
||||||
|
|||||||
@ -270,7 +270,7 @@
|
|||||||
"filterFollow": "Filter contributions from users I follow",
|
"filterFollow": "Filter contributions from users I follow",
|
||||||
"filterMasonryGrid": {
|
"filterMasonryGrid": {
|
||||||
"myFriends": "Users I follow",
|
"myFriends": "Users I follow",
|
||||||
"myGroups": "My groups",
|
"myGroups": "By my groups",
|
||||||
"myTopics": "My topics",
|
"myTopics": "My topics",
|
||||||
"noFilter": "Filter posts"
|
"noFilter": "Filter posts"
|
||||||
},
|
},
|
||||||
@ -515,10 +515,13 @@
|
|||||||
"no-results": "No contributions found."
|
"no-results": "No contributions found."
|
||||||
},
|
},
|
||||||
"invite-codes": {
|
"invite-codes": {
|
||||||
"copy-code": "Code:",
|
"button": {
|
||||||
|
"tooltip": "Invite your friends"
|
||||||
|
},
|
||||||
|
"copy-code": "Copy Invite Link",
|
||||||
"copy-success": "Invite code copied to clipboard",
|
"copy-success": "Invite code copied to clipboard",
|
||||||
"not-available": "You have no valid invite code available!",
|
"not-available": "You have no valid invite code available!",
|
||||||
"your-code": "Copy your invite code to the clipboard:"
|
"your-code": "Send this link per e-mail or in social media to invite your friends:"
|
||||||
},
|
},
|
||||||
"login": {
|
"login": {
|
||||||
"email": "Your E-mail",
|
"email": "Your E-mail",
|
||||||
|
|||||||
@ -15,7 +15,7 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'viewport',
|
name: 'viewport',
|
||||||
content: 'width=device-width, initial-scale=1',
|
content: 'initial-scale=1',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
hid: 'description',
|
hid: 'description',
|
||||||
|
|||||||
@ -62,7 +62,7 @@ export default {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'viewport',
|
name: 'viewport',
|
||||||
content: 'width=device-width, initial-scale=1',
|
content: 'initial-scale=1',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
hid: 'description',
|
hid: 'description',
|
||||||
|
|||||||
@ -92,16 +92,16 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ds-grid-item>
|
</ds-grid-item>
|
||||||
<ds-space :margin-bottom="{ base: 'small', md: 'base', lg: 'large' }" />
|
<!-- Placeholder/Space Row -->
|
||||||
|
<ds-grid-item :row-span="1" column-span="fullWidth" />
|
||||||
|
<!-- hashtag filter -->
|
||||||
<ds-grid-item v-if="hashtag" :row-span="2" column-span="fullWidth">
|
<ds-grid-item v-if="hashtag" :row-span="2" column-span="fullWidth">
|
||||||
<hashtags-filter :hashtag="hashtag" @clearSearch="clearSearch" />
|
<hashtags-filter :hashtag="hashtag" @clearSearch="clearSearch" />
|
||||||
</ds-grid-item>
|
</ds-grid-item>
|
||||||
<ds-space :margin-bottom="{ base: 'small', md: 'base', lg: 'large' }" />
|
|
||||||
<!-- donation info -->
|
<!-- donation info -->
|
||||||
<ds-grid-item v-if="showDonations" class="top-info-bar" :row-span="1" column-span="fullWidth">
|
<ds-grid-item v-if="showDonations" class="top-info-bar" :row-span="1" column-span="fullWidth">
|
||||||
<donation-info :goal="goal" :progress="progress" />
|
<donation-info :goal="goal" :progress="progress" />
|
||||||
</ds-grid-item>
|
</ds-grid-item>
|
||||||
<ds-space :margin-bottom="{ base: 'small', md: 'base', lg: 'large' }" />
|
|
||||||
<!-- news feed -->
|
<!-- news feed -->
|
||||||
<template v-if="hasResults">
|
<template v-if="hasResults">
|
||||||
<masonry-grid-item
|
<masonry-grid-item
|
||||||
@ -418,5 +418,8 @@ export default {
|
|||||||
font-size: 23px;
|
font-size: 23px;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
.ds-grid {
|
||||||
|
padding-top: 1em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user