Skip to content

Commit

Permalink
Updated text
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Dec 7, 2018
1 parent f5a2f04 commit 8e51c38
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"title": "EntityAttributes Filter",
"type": "object",
"widget": {
"id": "fieldset"
},
"properties": {
"name": {
"title": "label.filter-name",
Expand Down
5 changes: 3 additions & 2 deletions backend/src/main/resources/i18n/messages_en.properties
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,8 @@ label.nameid-formats-format=NameID Format
label.nameid-formats-value=NameID Value
label.nameid-formats-type=NameID Type

label.select-filter-type=Select Filter Type

message.must-be-unique=Must be unique.
message.name-must-be-unique=Name must be unique.
message.uri-valid-format=URI must be valid format.
Expand Down Expand Up @@ -429,7 +431,7 @@ tooltip.assertion-consumer-service-location=Assertion Consumer Service Location
tooltip.assertion-consumer-service-location-binding=Assertion Consumer Service Location Binding
tooltip.mark-as-default=Mark as Default
tooltip.protocol-support-enumeration=Protocol Support Enumeration
tooltip.nameid-format=Add NameID Format
tooltip.nameid-format=Content is name identifier format which is added to all the applicable roles of the entities which match any of the following <Entity> or {{<ConditionRef>}}elements.
tooltip.enable-this-service-upon-saving=Enable this service upon saving
tooltip.authentication-requests-signed=Authentication Requests Signed
tooltip.want-assertions-signed=Want Assertions Signed
Expand Down Expand Up @@ -524,7 +526,6 @@ tooltip.velocity-engine=This attribute may be used to specify the name of the Ve
tooltip.match=A regular expression against which the entityID is evaluated.

tooltip.remove-existing-formats=Whether to remove any existing formats from a role if any are added by the filter (unmodified roles will be untouched regardless of this setting)
tooltip.nameid-formats=Content is name identifier format which is added to all the applicable roles of the entities which match any of the following <Entity> or {{<ConditionRef>}}elements.
tooltip.nameid-formats-format=Format
tooltip.nameid-formats-value=Value
tooltip.nameid-formats-type=Type
3 changes: 3 additions & 0 deletions backend/src/main/resources/nameid-filter.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
]
}
],
"required": [
"name"
],
"properties": {
"name": {
"title": "label.filter-name",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,13 @@
<div class="d-flex justify-content-between">
<form [formGroup]="form" class="d-block w-50">
<div class="form-group">
<label for="type">Filter Type</label>
<label for="type">
<translate-i18n key="label.select-filter-type">Select Filter Type</translate-i18n>
</label>
<select class="form-control" formControlName="type" name="type">
<option>Select Filter Type</option>
<option value="" disabled>
<translate-i18n key="label.select-filter-type">Select Filter Type</translate-i18n>
</option>
<option *ngFor="let opt of options$ | async" [value]="opt.type">{{ opt.label }}</option>
</select>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class NewFilterComponent implements OnDestroy, OnInit {
validators$: Observable<{ [key: string]: any }>;

form: FormGroup = this.fb.group({
type: [null, Validators.required]
type: ['', Validators.required]
});

options$: Observable<FormDefinition<MetadataFilter>[]>;
Expand Down
3 changes: 3 additions & 0 deletions ui/src/assets/schema/filter/nameid.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
]
}
],
"required": [
"name"
],
"properties": {
"name": {
"title": "label.filter-name",
Expand Down

0 comments on commit 8e51c38

Please sign in to comment.