<commit_before>﻿<%@ Control Language="c#" AutoEventWireup="True" Inherits="YAF.Pages.Profile.Attachments" Codebehind="Attachments.ascx.cs" %>

<%@ Import Namespace="YAF.Types.Extensions" %>

<YAF:PageLinks runat="server" ID="PageLinks" />

<div class="row">
    <div class="col-sm-auto">
        <YAF:ProfileMenu runat="server"></YAF:ProfileMenu>
    </div>
    <div class="col">
<div class="row">
    <div class="col">
        <div class="card mb-3">
            <div class="card-header">
                <YAF:IconHeader runat="server"
                                IconName="paperclip"></YAF:IconHeader>
            </div>
            <div class="card-body">
                <YAF:Pager ID="PagerTop" runat="server" OnPageChange="PagerTop_PageChange" />
                <asp:Repeater runat="server" ID="List" OnItemCommand="List_ItemCommand">
                    <HeaderTemplate>
                        <ul class="list-group list-group-flush mt-3">
                    </HeaderTemplate>
                    <ItemTemplate>
                        <li class="list-group-item">
                            
                                <asp:CheckBox ID="Selected" runat="server"
                                              Text="&nbsp;"
                                              CssClass="custom-control custom-checkbox d-inline-flex" />
                                <%# this.GetPreviewImage(Container.DataItem) %>
                                <%# this.Eval( "FileName") %> <em>(<%# this.Eval("Bytes").ToType<int>() / 1024%> kb)</em>
                            
                                <YAF:ThemeButton ID="ThemeButtonDelete" runat="server"
                                                 CommandName="delete" CommandArgument='<%# this.Eval( "ID") %>' 
                                                 TitleLocalizedTag="DELETE" 
                                                 TextLocalizedTag="DELETE"
                                                 Icon="trash"
                                                 Type="Danger"
                                                 ReturnConfirmText='<%#this.GetText("ATTACHMENTS", "CONFIRM_DELETE") %>'>
                                </YAF:ThemeButton>
                            
                        </li>
                    </ItemTemplate>
                    <FooterTemplate>
                        </ul>
                    </FooterTemplate>
                </asp:Repeater>
                <YAF:ThemeButton ID="DeleteAttachment2" runat="server"
                                 TextLocalizedTag="BUTTON_DELETEATTACHMENT" TitleLocalizedTag="BUTTON_DELETEATTACHMENT_TT"
                                 ReturnConfirmText='<%#this.GetText("ATTACHMENTS", "CONFIRM_DELETE") %>'
                                 OnClick="DeleteAttachments_Click"
                                 Icon="trash"
                                 Type="Danger"
                                 Visible="<%# this.List.Items.Count > 0 %>"
                                 CssClass="m-3"/>
                <YAF:Pager ID="PagerBottom" runat="server" LinkedPager="PagerTop" />
            </div>
            <div class="card-footer text-center">
               <YAF:ThemeButton runat="server" ID="Back" 
                                OnClick="Back_Click"
                                Type="Secondary"
                                Icon="reply"/>
            </div>
        </div>
    </div>
</div>
</div>
    </div><commit_msg>FIXED title<commit_after>﻿<%@ Control Language="c#" AutoEventWireup="True" Inherits="YAF.Pages.Profile.Attachments" Codebehind="Attachments.ascx.cs" %>

<%@ Import Namespace="YAF.Types.Extensions" %>

<YAF:PageLinks runat="server" ID="PageLinks" />

<div class="row">
    <div class="col-sm-auto">
        <YAF:ProfileMenu runat="server"></YAF:ProfileMenu>
    </div>
    <div class="col">
        <div class="row">
            <div class="col">
        <div class="card mb-3">
            <div class="card-header">
                <YAF:IconHeader runat="server"
                                LocalizedTag="TITLE"
                                LocalizedPage="ATTACHMENTS"
                                IconName="paperclip"></YAF:IconHeader>
            </div>
            <div class="card-body">
                <YAF:Pager ID="PagerTop" runat="server" OnPageChange="PagerTop_PageChange" />
                <asp:Repeater runat="server" ID="List" OnItemCommand="List_ItemCommand">
                    <HeaderTemplate>
                        <ul class="list-group list-group-flush mt-3">
                    </HeaderTemplate>
                    <ItemTemplate>
                        <li class="list-group-item">
                            
                                <asp:CheckBox ID="Selected" runat="server"
                                              Text="&nbsp;"
                                              CssClass="custom-control custom-checkbox d-inline-flex" />
                                <%# this.GetPreviewImage(Container.DataItem) %>
                                <%# this.Eval( "FileName") %> <em>(<%# this.Eval("Bytes").ToType<int>() / 1024%> kb)</em>
                            
                                <YAF:ThemeButton ID="ThemeButtonDelete" runat="server"
                                                 CommandName="delete" CommandArgument='<%# this.Eval( "ID") %>' 
                                                 TitleLocalizedTag="DELETE" 
                                                 TextLocalizedTag="DELETE"
                                                 Icon="trash"
                                                 Type="Danger"
                                                 ReturnConfirmText='<%#this.GetText("ATTACHMENTS", "CONFIRM_DELETE") %>'>
                                </YAF:ThemeButton>
                            
                        </li>
                    </ItemTemplate>
                    <FooterTemplate>
                        </ul>
                    </FooterTemplate>
                </asp:Repeater>
                <YAF:ThemeButton ID="DeleteAttachment2" runat="server"
                                 TextLocalizedTag="BUTTON_DELETEATTACHMENT" TitleLocalizedTag="BUTTON_DELETEATTACHMENT_TT"
                                 ReturnConfirmText='<%#this.GetText("ATTACHMENTS", "CONFIRM_DELETE") %>'
                                 OnClick="DeleteAttachments_Click"
                                 Icon="trash"
                                 Type="Danger"
                                 Visible="<%# this.List.Items.Count > 0 %>"
                                 CssClass="m-3"/>
                <YAF:Pager ID="PagerBottom" runat="server" LinkedPager="PagerTop" />
            </div>
            <div class="card-footer text-center">
               <YAF:ThemeButton runat="server" ID="Back" 
                                OnClick="Back_Click"
                                Type="Secondary"
                                Icon="reply"/>
            </div>
        </div>
    </div>
        </div>
    </div>
</div>
{'fraction_non_alphanumeric': 0.12037688088876389, 'fraction_numerical': 0.0025312895513992404, 'mean_word_length': 1.1053878034339846, 'pattern_counts': {'":': 0, '<': 111, '<?xml version=': 0, '>': 113, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 50, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2557764', 'n_tokens_mistral': 1771, 'n_tokens_neox': 1664, 'n_words': 242}