<span>
  <span task='custom_reports_archiver_can_archive'>
    <span name='show_archives' ifset='true'>
      <a name='reportView_archive_generate' >Archive Report </a> 
    </span>
  </span>
  <span task='custom_reports_archiver_can_view'>
    <span name='has_archives' ifset='true'>
      &nbsp;      &nbsp;
      <a name='reportView_archive_view' >View Archives</a>
    </span>
  </span>
</span>