<ion-view class="newsfeeds" view-title="Newsfeeds" hide-nav-bar="true">
    <ion-content id="newsfeedpage" scroll="false">
        <div class="app-main">
            <div class="app-header" compile-html="dataHtml.menuHeader"></div>
            <div class="newsfeeds-tab app-tab-switch" compile-html="dataHtml.tabMenu"></div>
            <div class="app-content">
                <div class="app-content-inner content-pd">
                    <div class="scroll-area" compile-html="dataHtml.newsfeedPinned" ng-if="tabNewsfeedsActive == 'Pinned'"></div>
                    <div class="scroll-area" compile-html="dataHtml.newsfeedUnpin" ng-if="tabNewsfeedsActive == 'Feeds'"></div>
                </div>
            </div>
            <div class="newsfeed-app-control app-control forbidden" ng-if="pinUnpinButton">
                <div class="layout-fixed full-h pdT2">
                    <div class="w42px full-h relative">
                        <button class="bg-transparent pd0-i full text-left pdL10-i" type="button" onclick="openQuickOption(this)">
                            <svg class="h20px" viewBox="0 0 460.713 460.713"> <g> <rect y="115.356" width="302" height="30" fill="#FFFFFF" /> <polygon points="335.786,202.231 398.25,264.694 460.713,202.232  " fill="#FFFFFF" /> <rect y="315.356" width="302" height="30" fill="#FFFFFF" /> <rect y="215.356" width="302" height="30" fill="#FFFFFF" /> </g> </svg>
                        </button>
                        <div class="quick-popup box-popup-1 display-bottom-left mgB55" onclick="closeQuickOption(this)">
                            <div class="popup-content w140px">
                                <ul class="list-item-03">
                                    <li class="popup-back-button" ng-click="pinFeed('prevent'); restorePin()">
                                        <div class="layout-fixed">
                                            <div class="icon-area">
                                                <svg class="h15px" viewBox="0 0 423.755 423.755"> <path d="M43.84,281.457c-18.585-44.869-18.586-94.29,0-139.159c10.649-25.709,26.678-48.152,46.86-66.135l60.86,60.86V15.099   H29.635l39.88,39.88c-64.293,58.426-88.5,153.2-53.391,237.959c14.167,34.202,37.07,64.159,66.234,86.634   c28.275,21.789,61.873,36.201,97.162,41.677l4.601-29.646C120.778,381.774,68.337,340.597,43.84,281.457z" fill="#FFFFFF" /> <path d="M407.516,292.938c21.652-52.272,21.652-109.848,0-162.12c-14.167-34.202-37.071-64.159-66.234-86.633   C313.007,22.395,279.409,7.983,244.12,2.507l-4.601,29.646c63.342,9.829,115.783,51.005,140.28,110.146   c18.586,44.869,18.586,94.29,0,139.159c-10.649,25.709-26.678,48.152-46.859,66.135l-60.86-60.86v121.924h121.924l-39.801-39.801   C377.118,348.099,395.334,322.348,407.516,292.938z" fill="#FFFFFF" /> </svg>
                                            </div>
                                            <div class="name-area text-link-1">
                                                Reset
                                            </div>
                                        </div>
                                    </li>
                                </ul>
                            </div>
                            <div class="popup-overlay"></div>
                        </div>
                    </div>
                    <div class="full-h">
                        <div class="text-display-1">{{idRestore.length}} Feed pinned</div>
                    </div>
                    <div class="full-h">
                        <button class="button-form-field-1 blue full" type="button" ng-click="pinFeed('prevent'); resizeScroll('scrollNewsfeeds')">
                            OK
                        </button>
                    </div>
                </div>
            </div>
            <div class="newsfeed-app-create-button app-create-button show" ng-if="buttonSendnewfeed">
                <button class="button-add-plus-1 pd0-i w50px h50px" type="button" ng-click="openByGetTemplate('formAddNewsFeeds')"></button>
            </div>
        </div>

        <div class="app-content-popup-area">
            <div id="formAddNewsFeeds" class="app-content-popup" compile-html="dataHtml.formAddNewsFeeds"></div>
            <div id="popupNewsfeedsLiked" class="app-content-popup" compile-html="dataHtml.popupNewsfeedsLiked"></div>
            <div id="popupNewsfeedsComment" class="app-content-popup" compile-html="dataHtml.popupNewsfeedsComment"></div>
            <div class="newsfeed-search app-setting" compile-html="dataHtml.searchNewsfeeds"></div>
        </div>
    </ion-content>
</ion-view>
