{{!
    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/>.
}}
{{!
    @template local_coursedynamicrules/notification_placeholders

    TODO describe template notification_placeholders

    Example context (json):
    {
    }
}}
<div>
    <strong>{{#str}}availableplaceholders, local_coursedynamicrules{{/str}}:</strong>
    <ul>
        <li>
            <code id="placeholder-coursename">{$a->coursename}</code> - {{#str}}coursename, local_coursedynamicrules{{/str}}
            <span class="local_coursedynamicrules_clipboard_icon" role="button"
                  data-action="copytoclipboard"
                  data-clipboard-target="#placeholder-coursename"
                  data-clipboard-success-message="{{#str}}copiedtoclipboard, local_coursedynamicrules{{/str}}"
                  title="{{#str}}copytoclipboard, local_coursedynamicrules{{/str}}">
                {{#pix}}t/clipboard, core{{/pix}}
            </span>
        </li>
        <li>
            <code id="placeholder-courselink">{$a->courselink}</code> - {{#str}}courselink, local_coursedynamicrules{{/str}}
            <span class="local_coursedynamicrules_clipboard_icon" role="button"
                  data-action="copytoclipboard"
                  data-clipboard-target="#placeholder-courselink"
                  data-clipboard-success-message="{{#str}}copiedtoclipboard, local_coursedynamicrules{{/str}}"
                  title="{{#str}}copytoclipboard, local_coursedynamicrules{{/str}}">
                {{#pix}}t/clipboard, core{{/pix}}
            </span>
        </li>
        <li>
            <code id="placeholder-fullname">{$a->fullname}</code> - {{#str}}fullname, local_coursedynamicrules{{/str}}
            <span class="local_coursedynamicrules_clipboard_icon" role="button"
                  data-action="copytoclipboard"
                  data-clipboard-target="#placeholder-fullname"
                  data-clipboard-success-message="{{#str}}copiedtoclipboard, local_coursedynamicrules{{/str}}"
                  title="{{#str}}copytoclipboard, local_coursedynamicrules{{/str}}">
                {{#pix}}t/clipboard, core{{/pix}}
            </span>
        </li>
        <li>
            <code id="placeholder-firstname">{$a->firstname}</code> - {{#str}}firstname, local_coursedynamicrules{{/str}}
            <span class="local_coursedynamicrules_clipboard_icon" role="button"
                  data-action="copytoclipboard"
                  data-clipboard-target="#placeholder-firstname"
                  data-clipboard-success-message="{{#str}}copiedtoclipboard, local_coursedynamicrules{{/str}}"
                  title="{{#str}}copytoclipboard, local_coursedynamicrules{{/str}}">
                {{#pix}}t/clipboard, core{{/pix}}
            </span>
        </li>
        <li>
            <code id="placeholder-lastname">{$a->lastname}</code> - {{#str}}lastname, local_coursedynamicrules{{/str}}
            <span class="local_coursedynamicrules_clipboard_icon" role="button"
                  data-action="copytoclipboard"
                  data-clipboard-target="#placeholder-lastname"
                  data-clipboard-success-message="{{#str}}copiedtoclipboard, local_coursedynamicrules{{/str}}"
                  title="{{#str}}copytoclipboard, local_coursedynamicrules{{/str}}">
                {{#pix}}t/clipboard, core{{/pix}}
            </span>
        </li>
    </ul>
</div>
{{#js}}
require(['core/copy_to_clipboard']);
{{/js}}
