Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
895
Issues
895
List
Boards
Labels
Service Desk
Milestones
Merge Requests
47
Merge Requests
47
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
13d8184e
Commit
13d8184e
authored
7 minutes ago
by
Ben Hayward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed entities without thumbnails being displayed
parent
7145f0e7
fix/boost-console-feed-1596
1 merge request
!540
[Sprint/ModestMonkey](fix): boost console feed
Pipeline
#81323018
running with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
11 deletions
+6
-11
booster.component.html
src/app/modules/boost/console/booster/booster.component.html
+4
-9
booster.component.spec.ts
...p/modules/boost/console/booster/booster.component.spec.ts
+2
-2
No files found.
src/app/modules/boost/console/booster/booster.component.html
View file @
13d8184e
<div
class=
"m-boost-console-booster--cta"
>
<span
i18n=
"@@BOOST__CONSOLE__BOOSTER__CTA"
>
Boosting guarantees more views on your posts and content
s
.
</span
>
Boosting guarantees more views on your posts and content.
</span
>
<!--<button class="mdl-button mdl-button--raised mdl-color-text--white" (click)="toggle()" i18n="verb|@@M__ACTION__BOOST">Boost</button>-->
</div>
...
...
@@ -10,14 +10,11 @@
<ng-container
*ngIf=
"type == 'newsfeed' || type == 'offers'"
>
<ng-container>
<div
class=
"m-boost-console--booster--posts-list"
>
<ng-container
*ngFor=
"let entity of feed$ | async"
>
<ng-container
*ngFor=
"let entity of feed$ | async"
>
<minds-card
[object]=
"entity | async"
class=
"m-border"
hostClass=
"mdl-card"
*ngIf=
"(entity | async)?.entity"
></minds-card>
</ng-container>
</div>
...
...
@@ -50,10 +47,8 @@
<div
class=
"mdl-cell mdl-cell--6-col"
*ngFor=
"let entity of feed$ | async"
>
<ng-container
*ngIf=
"(entity | async)?.entity"
>
>
<ng-container
*ngIf=
"(entity | async)?.thumbnail_src"
>
<minds-card
[object]=
"entity | async"
hostClass=
"mdl-shadow--2dp"
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/boost/console/booster/booster.component.spec.ts
View file @
13d8184e
...
...
@@ -109,8 +109,8 @@ describe('BoostConsoleBooster', () => {
it
(
'
should not have a poster if the user has posted content
'
,
()
=>
{
comp
.
feed$
=
of
([
BehaviorSubject
.
create
({
id
:
1
,
entity
:
true
}),
BehaviorSubject
.
create
({
id
:
2
,
entity
:
true
}),
BehaviorSubject
.
create
({
id
:
1
,
entity
:
true
}),
BehaviorSubject
.
create
({
id
:
2
,
entity
:
true
}),
]);
fixture
.
detectChanges
();
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment