Compare commits
No commits in common. "a59f96cdad81153c10b42ee075d3f835f6a2de59" and "59e9c77e4932de63934bb79d89c5600d37cda1c0" have entirely different histories.
a59f96cdad
...
59e9c77e49
|
@ -161,8 +161,8 @@ export class EditCommunityComponent {
|
|||
communityId: this.fb.control(this.community.communityId),
|
||||
name: this.fb.control(this.community.title, Validators.required),
|
||||
shortName: this.fb.control(this.community.shortTitle, Validators.required),
|
||||
displayName: this.fb.control(this.community.displayTitle, Validators.required),
|
||||
displayShortName: this.fb.control(this.community.displayShortTitle, Validators.required),
|
||||
displayName: this.fb.control(this.community.title, Validators.required),
|
||||
displayShortName: this.fb.control(this.community.shortTitle, Validators.required),
|
||||
description: this.fb.control(this.community.description),
|
||||
status: this.fb.control(this.community.status),
|
||||
claim: this.fb.control(this.community.claim),
|
||||
|
|
|
@ -35,7 +35,6 @@ import {UntypedFormBuilder} from "@angular/forms";
|
|||
<fs-modal #filtersModal (okEmitter)="saveCriteria()" (cancelEmitter)="criteria.reset(); depositReset();"
|
||||
[okButtonDisabled]="(criteria && criteria.disabled && !depositInfoChanged)">
|
||||
<div class="uk-container uk-container-large">
|
||||
<div *ngIf="dataProvider" class="uk-text-large">{{dataProvider.officialname}}</div>
|
||||
<div class="uk-flex uk-flex-center">
|
||||
<div>
|
||||
<mat-slide-toggle [checked]="enabled" (change)="enabled = !enabled; depositInfoChanged = true;"></mat-slide-toggle>
|
||||
|
@ -46,7 +45,7 @@ import {UntypedFormBuilder} from "@angular/forms";
|
|||
<label class="uk-margin-medium-top uk-margin-small-left ">Suggest for deposit</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="uk-hr" [class.uk-hidden]="!enabled">
|
||||
<div *ngIf="enabled" class="uk-hr">
|
||||
<div class="uk-text-center uk-text-bold uk-text-large uk-margin-top ">Content filters</div>
|
||||
<criteria #criteria *ngIf="dataProvider" [height]="'-1'"
|
||||
[selectionCriteria]="dataProvider.selectioncriteria">
|
||||
|
@ -154,7 +153,6 @@ export class ManageContentProvidersComponent implements OnInit {
|
|||
this.dataProvider.deposit = this.deposit;
|
||||
this.dataProvider.message = this.message;
|
||||
this.dataProvider.enabled = this.enabled;
|
||||
console.log(this.dataProvider)
|
||||
this.manageCommunityContentProvidersService.saveContentProvider(this.properties, this.dataProvider).subscribe(() => {
|
||||
this.criteria.reset();
|
||||
this.removeContentProvidersComponent.getCommunityContentProviders();
|
||||
|
@ -166,7 +164,6 @@ export class ManageContentProvidersComponent implements OnInit {
|
|||
});
|
||||
}
|
||||
this.removeContentProvidersComponent.loading = true;
|
||||
console.log()
|
||||
this.criteria.save(callback);
|
||||
}
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
<a (click)="removeCommunity(item, true)"
|
||||
class="uk-button uk-button-link uk-flex uk-flex-middle">
|
||||
<icon name="remove" [flex]="true"></icon>
|
||||
<span class="uk-margin-small-left">Remove as Main</span>
|
||||
<span class="uk-margin-small-left">Remove as master</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
<a (click)="removeFromMasterCommunity(item)"
|
||||
class="uk-button uk-button-link uk-flex uk-flex-middle">
|
||||
<icon name="remove" [flex]="true"></icon>
|
||||
<span class="uk-margin-small-left">Remove as Main</span>
|
||||
<span class="uk-margin-small-left">Remove as master</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -70,7 +70,7 @@
|
|||
<a (click)="addAsMasterCommunity(item)"
|
||||
class="uk-button uk-button-link uk-flex uk-flex-middle">
|
||||
<icon name="add" [flex]="true"></icon>
|
||||
<span class="uk-margin-small-left">Add as Main</span>
|
||||
<span class="uk-margin-small-left">Add as master</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue