window.easyTemplates = window.easyTemplates || {};

window.easyTemplates.column = "{{#cols}}<div class='easy-col col{{order}} {{bonusClasses}}'></div>{{/cols}}";
window.easyTemplates.row = "{{#rows}}<div class='easy-row row{{order}} {{bonusClasses}}'></div>{{/rows}}";

window.easyTemplates.kanbanRoot = "<div class='agile__group-select'></div>" +
    "<div class='agile'><div class='agile__row easy-row'></div></div>";
window.easyTemplates.kanbanSwimLane = "<div class='agile__col'>{{#name}}<div class='agile__col__title'><span class='icon easy-icon-select agile__col__title-icon icon-collapse'></span>{{name}}</div>{{/name}}<div class='agile__row'>{{#cols}}<div class='agile__col sprint-col col{{.}}'></div>{{/cols}}</div></div>";
window.easyTemplates.kanbanSwimLaneCol = "{{#first}}<div class='agile__col__title'></div>{{/first}}<div class='agile__col__contents'></div>";

window.easyTemplates.kanbanList = "{{#showName}}<div class='agile__col__title'></div><div class='agile__col__contents'>{{/showName}}<div class='{{bonusClasses}} agile__list' data-column-name='{{columnName}}'>" +
    "{{#items}}" +
    '<div class="agile__item item_{{id}}"></div>' +
    "{{/items}}" +
    "</div>{{#showName}}</div>{{/showName}}";

window.easyTemplates.kanbanGroupSelect = "<select>{{#options}}<option value='{{value}}'{{#selected}} selected{{/selected}}>{{name}}</option>{{/options}}</select>";
window.easyTemplates.kanbanColumnName = "";
window.easyTemplates.kanbanNoAssigneeAvatar = "";
window.easyTemplates.easyToolTip = "<div class='easy-tooltip'></div>";
window.easyTemplates.issueCardWidget = "";
