mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
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:
@@ -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 = [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user