Dictionary additions (#6120)

* Cleanups

* Add text entries for dictionary pages

* Wording: Keep Clone title consistent with Payment Request cloning

* Dictionaries: List used one first; badge for marking In use
This commit is contained in:
d11n
2024-07-26 01:46:17 +02:00
committed by GitHub
parent 94760792af
commit 7878a4365c
8 changed files with 116 additions and 117 deletions

View File

@@ -1,21 +1,17 @@
using System;
using System.Collections.Generic;
using BTCPayServer.Services;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace BTCPayServer.Models.ServerViewModels
namespace BTCPayServer.Models.ServerViewModels;
public class ListDictionariesViewModel
{
public class ListDictionariesViewModel
public class DictionaryViewModel
{
public class DictionaryViewModel
{
public string DictionaryName { get; set; }
public string Fallback { get; set; }
public string Source { get; set; }
public bool Editable { get; set; }
public bool IsSelected { get; set; }
}
public List<DictionaryViewModel> Dictionaries = new List<DictionaryViewModel>();
public string DictionaryName { get; set; }
public string Fallback { get; set; }
public string Source { get; set; }
public bool Editable { get; set; }
public bool IsSelected { get; set; }
}
public List<DictionaryViewModel> Dictionaries = [];
}