[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/admin/tool/lp/templates/ -> competencies_move_tree.mustache (source)

   1  {{!
   2      This file is part of Moodle - http://moodle.org/
   3  
   4      Moodle is free software: you can redistribute it and/or modify
   5      it under the terms of the GNU General Public License as published by
   6      the Free Software Foundation, either version 3 of the License, or
   7      (at your option) any later version.
   8  
   9      Moodle is distributed in the hope that it will be useful,
  10      but WITHOUT ANY WARRANTY; without even the implied warranty of
  11      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12      GNU General Public License for more details.
  13  
  14      You should have received a copy of the GNU General Public License
  15      along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
  16  }}
  17  {{!
  18      Manage competencies template.
  19  
  20      Classes required for JS:
  21  
  22      Data attibutes required for JS:
  23      * data-enhance=movetree
  24  
  25      Context variables required for this template:
  26      * framework -
  27      * competencies - array of objects containing id, shortname, idnumber, sortorder, parentid, competencyframeworkid, path
  28  }}
  29  <div data-region="competencymovetree" >
  30  <label>{{#str}}selectcompetencymovetarget, tool_lp{{/str}}</label>
  31  
  32  <ul data-enhance="movetree" style="display: none;">
  33      <li>
  34          <span>{{{framework.shortname}}}</span>
  35          <ul>
  36              {{#competencies}}
  37                  {{> tool_lp/competencies_tree }}
  38              {{/competencies}}
  39          </ul>
  40      </li>
  41  </ul>
  42  </div>
  43  
  44  <div data-region="move-buttons">
  45      <input type="button" data-action="move" value="{{#str}}move{{/str}}"/>
  46      <input type="button" data-action="cancel" value="{{#str}}cancel{{/str}}"/>
  47  </div>


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1