<div class="container-fluid" ng-controller="Wizdom365NoticeboardNewsAdministrationController">

   <div class="saveConfigurationButton">
        <button class="btn btn-primary wide-config-btn"
                ng-disabled="saving"
                ng-click="saveConfig()">
            {{'Save configuration' | translate}}
        </button>
    </div>
    <div class="wizdom-controls">
        <div class="row wizdom-controls-row">
            <div class="col-xs-5" style="line-height: 2.5em;">
                {{'Enable email notifications' | translate}}
            </div>
            <div class="col-xs-7">
                <input type="checkbox" id="emailNotificationEnabled" ng-model="emailNotificationEnabled" style="vertical-align: top">
            </div>
        </div>

        <div class="row wizdom-controls-row" ng-show="emailNotificationEnabled">
            <div class="col-xs-5" style="line-height: 2.5em;">
                {{'Use "bcc" instead of "to"' | translate}}
            </div>
            <div class="col-xs-7">
                <input type="checkbox" id="emailNotificationUseBCC" ng-model="emailNotificationUseBCC" style="vertical-align: top">
            </div>
        </div>

        <div class="row wizdom-controls-row" ng-show="emailNotificationEnabled">
            <div class="col-xs-5" style="line-height: 2.5em;">
                {{'Max number of recipients per email message' | translate}}
            </div>
            <div class="col-xs-7">
                <input type="text" id="emailNotificationMaxRecipients" ng-model="emailNotificationMaxRecipients" style="vertical-align: top">
            </div>
        </div>

        <div class="row wizdom-controls-row" ng-show="emailNotificationEnabled">
            <div class="col-xs-5" style="line-height: 2.5em;">
                {{'Email overview template:' | translate}}
            </div>
            <div class="col-xs-7">
                <wizdom365-template-picker template-url="emailNotificationOverviewTemplate"
                                           directory-path="Noticeboard/Templates/ViewTemplates/Email/Overview">
                </wizdom365-template-picker>
            </div>
        </div>
    </div>
</div>

