<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="Social.ascx.vb" Inherits="WebFoundations.WFWorkflow.UI.Social" %>
<%@ Register Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Namespace="WebFoundations.WFPortal.Controls" Assembly="WebFoundations.WFPortal.Controls" TagPrefix="wf" %>
<%@ Register Namespace="WebFoundations.ServerControls" Assembly="WebFoundations.ServerControls" TagPrefix="wf" %>
<%@ Register Src="~/WFContent/Modules/WFWorkflow/SocialMessage.ascx" TagPrefix="wf" TagName="SocialMessage" %>

<wf:ExtendedUpdatePanel runat="server" tag="section" CssClass="zuri-social">
    <ContentTemplate>
        <aside class="share">
            <wf:UserAvatar runat="server" rel="author" ShowCurrentUser="true" AlwaysShowPhoto="true" Mode="ImageOnly" />
            <asp:TextBox runat="server" TextMode="MultiLine" ID="txtShare" />
            <telerik:RadComboBox id="rcbProcShare" cssclass="process" runat="server" />
            <asp:Button ID="btShare" runat="server" Text="Compartilhar" OnClick="Share_Click" />
        </aside>

        <aside class="filter-comments">
            <telerik:RadComboBox id="rcbProcFilter" cssclass="process" runat="server" placeholder="Todos os processos" AutoPostBack="true" />
            <asp:LinkButton runat="server" ID="lnkUnreadFilter" CssClass="unread" Text="Comentários não lidos" OnClick="UnreadOnly_Click" />
            <asp:LinkButton runat="server" ID="lnkFlaggedFilter" CssClass="flagged" Text="Publicações marcadas" OnClick="FlaggedOnly_Click" />
        </aside>

        <asp:PlaceHolder ID="phLoadNew" runat="server">
            <aside class="load load-new">
                <asp:LinkButton runat="server" ID="lnkLoadNew" Text="Exibir novas mensagens" OnClick="LoadNew_Click" />
            </aside>
        </asp:PlaceHolder>

        <wf:ExtendedRepeater runat="server" ID="rptMessages">
            <ItemTemplate>
                <wf:SocialMessage id="msg" runat="server" />
            </ItemTemplate>
        </wf:ExtendedRepeater>

        <asp:PlaceHolder ID="phLoadMore" runat="server">
            <aside class="load load-more">
                <asp:LinkButton ID="btLoadMore" runat="server" Text="Carregar mais mensagens" OnClick="LoadMore_Click" />
            </aside>
        </asp:PlaceHolder>
    </ContentTemplate>
</wf:ExtendedUpdatePanel>


