@model BTCPayServer.Components.TruncateCenter.TruncateCenterViewModel @{ var classes = string.IsNullOrEmpty(Model.Classes) ? string.Empty : Model.Classes.Trim(); @if (Model.Copy) classes += " truncate-center--copy"; @if (Model.Elastic) classes += " truncate-center--elastic"; } @if (Model.IsVue) { } else { @(Model.Elastic ? Model.Text : $"{Model.Start}…") @Model.End @Model.Text } @if (Model.Copy) { } @if (!string.IsNullOrEmpty(Model.Link)) { }