<commit_before>@using Microsoft.AspNetCore.Mvc.TagHelpers
@model BTCPayServer.Components.StoreLightningServices.StoreLightningServicesViewModel

@if (Model.Services != null && Model.Services.Any())
{
    <div id="StoreLightningServices-@Model.Store.Id" class="widget store-lightning-services">
        <header class="mb-4">
            <h6>Lightning Services</h6>
            <a class asp-controller="UIStores" asp-action="Lightning" asp-route-storeId="@Model.Store.Id" asp-route-cryptoCode="@Model.CryptoCode">Details</a>
        </header>
        <div id="Services" class="services-list">
            @foreach (var service in Model.Services)
            {
                @if (!string.IsNullOrEmpty(service.Error))
                {
                    <div class="service" id="@($"Service-{service.ServiceName}")">
                        <img src="@($"~/img/{service.Type.ToLower()}.png")" asp-append-version="true" alt="@service.DisplayName" />
                        <small class="d-block mt-3 lh-sm fw-semibold text-danger">@service.Error</small>
                    </div>
                }
                else if (string.IsNullOrEmpty(service.Link))
                {
                    <a asp-controller="UIServer" asp-action="Service" asp-route-serviceName="@service.ServiceName" asp-route-cryptoCode="@service.CryptoCode" class="service" id="@($"Service-{service.ServiceName}")">
                        <img src="@($"~/img/{service.Type.ToLower()}.png")" asp-append-version="true" alt="@service.DisplayName" />
                    </a>
                }
                else
                {
                    <a href="@service.Link" target="_blank" rel="noreferrer noopener" class="service" id="@($"Service-{service.ServiceName}")">
                        <img src="@($"~/img/{service.Type.ToLower()}.png")" asp-append-version="true" alt="@service.DisplayName" />
                    </a>
                }
            }
        </div>
    </div>
}
<commit_msg>Add title on link of ln services in the dashboard<commit_after>@using Microsoft.AspNetCore.Mvc.TagHelpers
@model BTCPayServer.Components.StoreLightningServices.StoreLightningServicesViewModel

@if (Model.Services != null && Model.Services.Any())
{
    <div id="StoreLightningServices-@Model.Store.Id" class="widget store-lightning-services">
        <header class="mb-4">
            <h6>Lightning Services</h6>
            <a class asp-controller="UIStores" asp-action="Lightning" asp-route-storeId="@Model.Store.Id" asp-route-cryptoCode="@Model.CryptoCode">Details</a>
        </header>
        <div id="Services" class="services-list">
            @foreach (var service in Model.Services)
            {
                @if (!string.IsNullOrEmpty(service.Error))
                {
                    <div class="service" id="@($"Service-{service.ServiceName}")">
                        <img src="@($"~/img/{service.Type.ToLower()}.png")" asp-append-version="true" alt="@service.DisplayName" />
                        <small class="d-block mt-3 lh-sm fw-semibold text-danger">@service.Error</small>
                    </div>
                }
                else if (string.IsNullOrEmpty(service.Link))
                {
                    <a title="@service.DisplayName" asp-controller="UIServer" asp-action="Service" asp-route-serviceName="@service.ServiceName" asp-route-cryptoCode="@service.CryptoCode" class="service" id="@($"Service-{service.ServiceName}")">
                        <img src="@($"~/img/{service.Type.ToLower()}.png")" asp-append-version="true" alt="@service.DisplayName" />
                    </a>
                }
                else
                {
                    <a title="@service.DisplayName" href="@service.Link" target="_blank" rel="noreferrer noopener" class="service" id="@($"Service-{service.ServiceName}")">
                        <img src="@($"~/img/{service.Type.ToLower()}.png")" asp-append-version="true" alt="@service.DisplayName" />
                    </a>
                }
            }
        </div>
    </div>
}

{'fraction_non_alphanumeric': 0.1646131099063578, 'fraction_numerical': 0.001971414489896501, 'mean_word_length': 2.1367851622874805, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5998752', 'n_tokens_mistral': 1190, 'n_tokens_neox': 1121, 'n_words': 165}