Proyectos de Subversion Moodle

Rev

Autoría | Ultima modificación | Ver Log |

<!-- 
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.

/**
 * @package    block_quickmail
 * @copyright  2008 onwards Louisiana State University
 * @copyright  2008 onwards Chad Mazilly, Robert Russo, Jason Peak, Dave Elliott, Adam Zapletal, Philip Cali
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */
-->

<div class="block_quickmail_alternate_index">
    <table class="table table-hover">
        <thead>
            <tr>
                {{# tableHeadings }}
                <th>{{.}}</th>
                {{/ tableHeadings }}
            </tr>
        </thead>
        <tbody>
            {{# tableRows }}
                <tr>
                    <td>{{ email }}</td>
                    <td>{{ fullname }}</td>
                    <td>{{ scope }}</td>
                    <td>{{ status }}</td>
                    <td>
                        <a href="?action=delete&id={{ id }}" class="btn btn-danger btn-sm btn-delete-alt">{{# str }} delete {{/ str }}</a>
                        {{^ isValidated }}
                            <a href="?action=resend&id={{ id }}" class="btn btn-info btn-sm btn-resend-alt">{{# str }} alternate_resend_confirmation, block_quickmail {{/ str }}</a>
                        {{/ isValidated }}
                    </td>
                </tr>
            {{/ tableRows }}

            {{^ tableRows }}
                <tr>
                    <td colspan="5" align="center">{{# str }} no_alternates, block_quickmail {{/ str }}</td>
                </tr>
            {{/ tableRows }}
        </tbody>
    </table>

    <a href="{{ urlBack }}" class="btn btn-secondary">{{ urlBackLabel }}</a>
    <a href="{{ urlCreate }}" class="btn btn-primary">{{# str }} create_new, block_quickmail {{/ str }}</a>
</div>