Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Dependency List
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
812
Issues
812
List
Boards
Labels
Service Desk
Milestones
Merge Requests
47
Merge Requests
47
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
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
Compare Revisions
b6cd56413ba8fb590d81e6e76d0e16618566ea74...979201aefd19ffafc56d5fc8c109329e4cee9ed2
Source
979201aefd19ffafc56d5fc8c109329e4cee9ed2
Select Git revision
...
Target
b6cd56413ba8fb590d81e6e76d0e16618566ea74
Select Git revision
Compare
Commits (2)
(fix): missing semicolon
· 19cf50ac
Marcelo Rivera
authored
1 hour ago
19cf50ac
(feat): added "Not found" message
· 979201ae
Marcelo Rivera
authored
1 hour ago
979201ae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
content-selector.component.html
...s/boost/campaigns/creator/content-selector.component.html
+10
-2
content-selector.component.ts
...les/boost/campaigns/creator/content-selector.component.ts
+1
-1
No files found.
src/app/modules/boost/campaigns/creator/content-selector.component.html
View file @
979201ae
...
...
@@ -28,14 +28,22 @@
[
hostClass
]="'
mdl-card
mdl-shadow--2dp
m-boost-campaigns-creator--card
m-boost-campaigns-creator--
'
+
type
+
'
-card
'"
></minds-card>
</ng-container>
<ng-template
#
noResult
>
<ng-container
*
ngIf=
"inProgress; else empty"
>
<div
class=
"mdl-spinner mdl-js-spinner is-active"
[
mdl
]
></div>
</ng-container>
<ng-template
#
empty
>
<div
class=
"m-boost-campaigns-creator--content-selector--no-content"
i18n
>
Search for some content...
<div
class=
"m-boost-campaigns-creator--content-selector--no-content"
>
<ng-container
*
ngIf=
"query; else searchForSomeContent"
i18n
>
Not found
</ng-container>
</div>
<ng-template
#
searchForSomeContent
>
<ng-container
i18n
>
Search for some content...
</ng-container>
</ng-template>
</ng-template>
</ng-template>
</div>
This diff is collapsed.
Click to expand it.
src/app/modules/boost/campaigns/creator/content-selector.component.ts
View file @
979201ae
...
...
@@ -19,7 +19,7 @@ import { Session } from '../../../../services/session';
})
export
class
BoostCampaignsCreatorContentSelectorComponent
implements
OnInit
{
type
:
CampaignType
type
:
CampaignType
;
@
Input
(
'
type
'
)
set
_type
(
type
:
CampaignType
)
{
this
.
type
=
type
;
...
...
This diff is collapsed.
Click to expand it.