<div class="saved" ng-controller="NotificationPageListController">
    <div class="page-title">
        <i class="ic-bell" aria-hidden="true"></i>
        <h2 translate>Notifications list</h2>
    </div>
    
    <div class="notification-area">        
        <div ng-if="Notifications.length == 0" style="text-align: center;" translate>
            No notifications
        </div>
        <ul class="notification">
            <li ng-repeat="item in Notifications track by item.ID" class="card item {{item.Type.toLowerCase()}}">
                <div class="title"><i class="{{GetItemIcon(item.Type)}}"></i><span>{{item.Title}}</span></div>
                <div class="content">
                    <div class="relative-date">{{RelativeDate(item.Timestamp)}}</div>
                    <div ng-if="item.Action != 'update:new'" class="message">{{item.Message}}</div> 
        
                    <div ng-if="item.Action == 'update:new'">
                        <div class="message" translate translate-params-message="item.Message">New update found: {{message}}</div>
                    </div>
                </div>
            </li>
        </ul>
    </div>
</div>