Skip to content

Commit

Permalink
[backend/frontend] add policies page (#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
savacano28 authored and johanah29 committed Jun 7, 2024
1 parent 329c595 commit af85fe3
Show file tree
Hide file tree
Showing 21 changed files with 933 additions and 580 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package io.openbas.rest.settings.form;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class PolicyInput {

@JsonProperty("platform_login_message")
private String loginMessage;

@JsonProperty("platform_consent_message")
private String consentMessage;

@JsonProperty("platform_consent_confirm_text")
private String consentConfirmText;

}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package io.openbas.rest.settings.response;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.openbas.rest.settings.form.PolicyInput;
import io.openbas.rest.settings.form.ThemeInput;
import lombok.AllArgsConstructor;
import lombok.Getter;
Expand Down Expand Up @@ -101,5 +102,9 @@ public class PlatformSettings {
@JsonProperty("platform_dark_theme")
private ThemeInput themeDark;

// POLICIES

@JsonProperty("platform_policies")
private PolicyInput policies;

}
Loading

0 comments on commit af85fe3

Please sign in to comment.