-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(AppLogo): extend settings for appowner logo in applactionMetadata
- Loading branch information
Showing
2 changed files
with
28 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using Altinn.Platform.Storage.Interface.Models; | ||
using Newtonsoft.Json; | ||
using Newtonsoft.Json.Converters; | ||
|
||
namespace Altinn.App.Core.Models | ||
{ | ||
/// <summary> | ||
/// The Logo configuration | ||
/// </summary> | ||
public class Logo | ||
{ | ||
/// <summary> | ||
/// A flag to specify that the form should display appOwner in header | ||
/// </summary> | ||
[JsonProperty(PropertyName = "showAppOwnerInHeader")] | ||
public bool ShowAppOwnerInHeader { get; set; } | ||
|
||
/// <summary> | ||
/// Specifies from where the logo url should be fetched | ||
/// </summary> | ||
[JsonProperty(PropertyName = "source")] | ||
public string? Source { get; set; } | ||
|
||
} | ||
} |