diff --git a/BTCPayServer/Views/Stores/UpdateStore.cshtml b/BTCPayServer/Views/Stores/UpdateStore.cshtml
index 2f9fd5af3..bc84f9e69 100644
--- a/BTCPayServer/Views/Stores/UpdateStore.cshtml
+++ b/BTCPayServer/Views/Stores/UpdateStore.cshtml
@@ -1,4 +1,5 @@
-@model StoreViewModel
+@using System.Text.RegularExpressions
+@model StoreViewModel
@{
Layout = "../Shared/_NavLayout.cshtml";
ViewData.SetActivePageAndTitle(StoreNavPages.Index, "Profile");
@@ -107,7 +108,25 @@
{
@scheme.Crypto |
- @scheme.Value |
+
+ @if (string.IsNullOrEmpty(scheme.Value))
+ {
+ Not set
+ }
+ else
+ {
+
+
+ @scheme.Value
+
+ @if (scheme.Value.Length > 20)
+ {
+ var match =Regex.Match(scheme.Value, @"((?:-\[(?:[^\]])+\])+|\S{6})$");
+ @match.Value;
+ }
+
+ }
+ |
@if(scheme.Enabled)
{
diff --git a/BTCPayServer/wwwroot/main/site.js b/BTCPayServer/wwwroot/main/site.js
index 5870c39ec..271410944 100644
--- a/BTCPayServer/wwwroot/main/site.js
+++ b/BTCPayServer/wwwroot/main/site.js
@@ -49,6 +49,8 @@
});
});
+ $('[data-toggle="tooltip"]').tooltip();
+
function handleInputGroupClearButtonDisplay(element) {
var inputs = $(element).parents(".input-group").find("input");
|