<div class="af-markup">
  <div class="help">
    {{:: ts('CiviCRM relies on a number of scheduled jobs that run automatically on a regular basis. These jobs keep data up-to-date and perform other important tasks.') }}
    {{:: ts('For most sites, your system administrator should set up one or more "cron" tasks to run the enabled jobs. You can also run all scheduled jobs using the button below, or specific jobs from this screen using the "Execute Now" buttons.') }}
    <a class="crm-doc-link no-popup" href="https://docs.civicrm.org/sysadmin/en/latest/setup/jobs" target="_blank" title="{{:: ts('Opens documentation in a new window.', {'escape': 'js'}) }}">{{:: ts('(How to setup cron on the command line...)') }}</a>
  </div>
</div>
<div af-fieldset="">
  <div class="af-container af-layout-inline">
    <af-field name="name" />
    <af-field name="description" defn="{input_type: 'Text', input_attrs: {}}" />
    <af-field name="is_active" defn="{input_type: 'Radio', input_attrs: {}}" />
  </div>
  <div class="btn-group pull-right">
    <a class="btn btn-primary" ng-href="{{:: crmUrl('civicrm/admin/job/add', {reset: 1, action: 'add'}) }}">
      <i class="crm-i fa-plus-circle"/>
      {{:: ts('Add Scheduled Job') }}
    </a>
    <a class="btn btn-primary" ng-href="{{:: crmUrl('civicrm/admin/runjobs', {reset: 1}) }}">
      <i class="crm-i fa-forward"/>
      {{:: ts('Execute All Scheduled Jobs') }}
    </a>
    <a class="btn btn-primary" ng-href="{{:: crmUrl('civicrm/admin/joblog', {reset: 1}) }}">
      <i class="crm-i fa-list-alt"/>
      {{:: ts('View Log') }}
    </a>
  </div>
  <crm-search-display-table search-name="Scheduled_Jobs" display-name="Scheduled_Jobs_Table_2"></crm-search-display-table>
</div>
