public function sentbackupinfo($id) {
        $html = html_writer::tag('div', get_string('sent', 'hub'),
            array('class' => 'courseuploadtextinfo'));
        $publishindexurl = new moodle_url('/course/publish/index.php',
            array('sesskey' => sesskey(), 'id' => $id,
                'published' => true));
        $continue = $this->output->render(
            new single_button($publishindexurl, get_string('continue')));
        $html .= html_writer::tag('div', $continue, array('class' => 'sharecoursecontinue'));
        return $html;
    }