2018-09-27 14:18:26 +03:00
|
|
|
(function() {
|
2018-10-01 11:43:17 +03:00
|
|
|
var template = Handlebars.template, templates = OCA.Files.Templates = OCA.Files.Templates || {};
|
2018-10-01 19:58:12 +03:00
|
|
|
templates['detailsview'] = template({"1":function(container,depth0,helpers,partials,data) {
|
|
|
|
var stack1;
|
|
|
|
|
|
|
|
return "<ul class=\"tabHeaders\">\n"
|
|
|
|
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.tabHeaders : depth0),{"name":"each","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
|
|
+ "</ul>\n";
|
|
|
|
},"2":function(container,depth0,helpers,partials,data) {
|
2019-09-27 09:11:44 +03:00
|
|
|
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression;
|
2018-10-01 19:58:12 +03:00
|
|
|
|
|
|
|
return " <li class=\"tabHeader\" data-tabid=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.tabId || (depth0 != null ? depth0.tabId : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"tabId","hash":{},"data":data}) : helper)))
|
2018-10-18 16:47:18 +03:00
|
|
|
+ "\" tabindex=\"0\">\n "
|
|
|
|
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.tabIcon : depth0),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
|
|
+ "\n <a href=\"#\" tabindex=\"-1\">"
|
2018-10-01 19:58:12 +03:00
|
|
|
+ alias4(((helper = (helper = helpers.label || (depth0 != null ? depth0.label : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"label","hash":{},"data":data}) : helper)))
|
|
|
|
+ "</a>\n </li>\n";
|
2018-10-18 16:47:18 +03:00
|
|
|
},"3":function(container,depth0,helpers,partials,data) {
|
|
|
|
var helper;
|
|
|
|
|
|
|
|
return "<span class=\"icon "
|
2019-09-27 09:11:44 +03:00
|
|
|
+ container.escapeExpression(((helper = (helper = helpers.tabIcon || (depth0 != null ? depth0.tabIcon : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"tabIcon","hash":{},"data":data}) : helper)))
|
2018-10-18 16:47:18 +03:00
|
|
|
+ "\"></span>";
|
2019-09-27 09:11:44 +03:00
|
|
|
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
2018-10-01 19:58:12 +03:00
|
|
|
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {});
|
|
|
|
|
|
|
|
return "<div class=\"detailFileInfoContainer\"></div>\n"
|
|
|
|
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.tabHeaders : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
|
|
+ "<div class=\"tabsContainer\"></div>\n<a class=\"close icon-close\" href=\"#\"><span class=\"hidden-visually\">"
|
2019-09-27 09:11:44 +03:00
|
|
|
+ container.escapeExpression(((helper = (helper = helpers.closeLabel || (depth0 != null ? depth0.closeLabel : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(alias1,{"name":"closeLabel","hash":{},"data":data}) : helper)))
|
2018-10-01 19:58:12 +03:00
|
|
|
+ "</span></a>\n";
|
|
|
|
},"useData":true});
|
2018-10-01 20:23:40 +03:00
|
|
|
templates['favorite_mark'] = template({"1":function(container,depth0,helpers,partials,data) {
|
|
|
|
return "permanent";
|
2019-09-27 09:11:44 +03:00
|
|
|
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
|
|
var stack1, helper, options, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression, buffer =
|
2018-10-01 20:23:40 +03:00
|
|
|
"<div class=\"favorite-mark ";
|
|
|
|
stack1 = ((helper = (helper = helpers.isFavorite || (depth0 != null ? depth0.isFavorite : depth0)) != null ? helper : alias2),(options={"name":"isFavorite","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data}),(typeof helper === alias3 ? helper.call(alias1,options) : helper));
|
2019-09-27 09:11:44 +03:00
|
|
|
if (!helpers.isFavorite) { stack1 = container.hooks.blockHelperMissing.call(depth0,stack1,options)}
|
2018-10-01 20:23:40 +03:00
|
|
|
if (stack1 != null) { buffer += stack1; }
|
|
|
|
return buffer + "\">\n <span class=\"icon "
|
|
|
|
+ alias4(((helper = (helper = helpers.iconClass || (depth0 != null ? depth0.iconClass : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"iconClass","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\" />\n <span class=\"hidden-visually\">"
|
|
|
|
+ alias4(((helper = (helper = helpers.altText || (depth0 != null ? depth0.altText : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"altText","hash":{},"data":data}) : helper)))
|
|
|
|
+ "</span>\n</div>\n";
|
|
|
|
},"useData":true});
|
2018-10-01 21:04:13 +03:00
|
|
|
templates['file_action_trigger'] = template({"1":function(container,depth0,helpers,partials,data) {
|
2019-09-27 09:11:44 +03:00
|
|
|
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression;
|
2018-10-01 21:04:13 +03:00
|
|
|
|
|
|
|
return " <img class=\"svg\" alt=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.altText || (depth0 != null ? depth0.altText : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"altText","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\" src=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.icon || (depth0 != null ? depth0.icon : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"icon","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\" />\n";
|
|
|
|
},"3":function(container,depth0,helpers,partials,data) {
|
|
|
|
var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {});
|
|
|
|
|
|
|
|
return ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.iconClass : depth0),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
|
|
+ ((stack1 = helpers.unless.call(alias1,(depth0 != null ? depth0.hasDisplayName : depth0),{"name":"unless","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "");
|
|
|
|
},"4":function(container,depth0,helpers,partials,data) {
|
|
|
|
var helper;
|
|
|
|
|
|
|
|
return " <span class=\"icon "
|
2019-09-27 09:11:44 +03:00
|
|
|
+ container.escapeExpression(((helper = (helper = helpers.iconClass || (depth0 != null ? depth0.iconClass : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"iconClass","hash":{},"data":data}) : helper)))
|
2018-10-01 21:04:13 +03:00
|
|
|
+ "\" />\n";
|
|
|
|
},"6":function(container,depth0,helpers,partials,data) {
|
|
|
|
var helper;
|
|
|
|
|
|
|
|
return " <span class=\"hidden-visually\">"
|
2019-09-27 09:11:44 +03:00
|
|
|
+ container.escapeExpression(((helper = (helper = helpers.altText || (depth0 != null ? depth0.altText : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"altText","hash":{},"data":data}) : helper)))
|
2018-10-01 21:04:13 +03:00
|
|
|
+ "</span>\n";
|
|
|
|
},"8":function(container,depth0,helpers,partials,data) {
|
|
|
|
var helper;
|
|
|
|
|
|
|
|
return "<span> "
|
2019-09-27 09:11:44 +03:00
|
|
|
+ container.escapeExpression(((helper = (helper = helpers.displayName || (depth0 != null ? depth0.displayName : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"displayName","hash":{},"data":data}) : helper)))
|
2018-10-01 21:04:13 +03:00
|
|
|
+ "</span>";
|
2019-09-27 09:11:44 +03:00
|
|
|
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
|
|
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression;
|
2018-10-01 21:04:13 +03:00
|
|
|
|
|
|
|
return "<a class=\"action action-"
|
|
|
|
+ alias4(((helper = (helper = helpers.nameLowerCase || (depth0 != null ? depth0.nameLowerCase : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"nameLowerCase","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\" href=\"#\" data-action=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\">\n"
|
|
|
|
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.icon : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "")
|
|
|
|
+ " "
|
|
|
|
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.displayName : depth0),{"name":"if","hash":{},"fn":container.program(8, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
|
|
+ "\n</a>\n";
|
|
|
|
},"useData":true});
|
2018-10-15 16:51:40 +03:00
|
|
|
templates['fileactionsmenu'] = template({"1":function(container,depth0,helpers,partials,data) {
|
2019-09-27 09:11:44 +03:00
|
|
|
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression;
|
2018-10-15 16:51:40 +03:00
|
|
|
|
2019-03-14 20:01:44 +03:00
|
|
|
return " <li class=\""
|
|
|
|
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.inline : depth0),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
|
|
+ " action-"
|
|
|
|
+ alias4(((helper = (helper = helpers.nameLowerCase || (depth0 != null ? depth0.nameLowerCase : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"nameLowerCase","hash":{},"data":data}) : helper)))
|
|
|
|
+ "-container\">\n <a href=\"#\" class=\"menuitem action action-"
|
2018-10-15 16:51:40 +03:00
|
|
|
+ alias4(((helper = (helper = helpers.nameLowerCase || (depth0 != null ? depth0.nameLowerCase : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"nameLowerCase","hash":{},"data":data}) : helper)))
|
|
|
|
+ " permanent\" data-action=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\">\n "
|
2019-03-14 20:01:44 +03:00
|
|
|
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.icon : depth0),{"name":"if","hash":{},"fn":container.program(4, data, 0),"inverse":container.program(6, data, 0),"data":data})) != null ? stack1 : "")
|
2018-10-15 16:51:40 +03:00
|
|
|
+ " <span>"
|
|
|
|
+ alias4(((helper = (helper = helpers.displayName || (depth0 != null ? depth0.displayName : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"displayName","hash":{},"data":data}) : helper)))
|
|
|
|
+ "</span>\n </a>\n </li>\n";
|
|
|
|
},"2":function(container,depth0,helpers,partials,data) {
|
2019-03-14 20:01:44 +03:00
|
|
|
return "hidden";
|
|
|
|
},"4":function(container,depth0,helpers,partials,data) {
|
2018-10-15 16:51:40 +03:00
|
|
|
var helper;
|
|
|
|
|
|
|
|
return "<img class=\"icon\" src=\""
|
2019-09-27 09:11:44 +03:00
|
|
|
+ container.escapeExpression(((helper = (helper = helpers.icon || (depth0 != null ? depth0.icon : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"icon","hash":{},"data":data}) : helper)))
|
2018-10-15 16:51:40 +03:00
|
|
|
+ "\"/>\n";
|
2019-03-14 20:01:44 +03:00
|
|
|
},"6":function(container,depth0,helpers,partials,data) {
|
2018-10-15 16:51:40 +03:00
|
|
|
var stack1;
|
|
|
|
|
2019-03-14 20:01:44 +03:00
|
|
|
return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.iconClass : depth0),{"name":"if","hash":{},"fn":container.program(7, data, 0),"inverse":container.program(9, data, 0),"data":data})) != null ? stack1 : "");
|
|
|
|
},"7":function(container,depth0,helpers,partials,data) {
|
2018-10-15 16:51:40 +03:00
|
|
|
var helper;
|
|
|
|
|
|
|
|
return " <span class=\"icon "
|
2019-09-27 09:11:44 +03:00
|
|
|
+ container.escapeExpression(((helper = (helper = helpers.iconClass || (depth0 != null ? depth0.iconClass : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"iconClass","hash":{},"data":data}) : helper)))
|
2018-10-15 16:51:40 +03:00
|
|
|
+ "\"></span>\n";
|
2019-03-14 20:01:44 +03:00
|
|
|
},"9":function(container,depth0,helpers,partials,data) {
|
2018-10-15 16:51:40 +03:00
|
|
|
return " <span class=\"no-icon\"></span>\n";
|
2019-09-27 09:11:44 +03:00
|
|
|
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
2018-10-15 16:51:40 +03:00
|
|
|
var stack1;
|
|
|
|
|
|
|
|
return "<ul>\n"
|
|
|
|
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.items : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
|
|
+ "</ul>\n";
|
|
|
|
},"useData":true});
|
2018-10-01 11:52:56 +03:00
|
|
|
templates['filemultiselectmenu'] = template({"1":function(container,depth0,helpers,partials,data) {
|
2019-09-27 09:11:44 +03:00
|
|
|
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression;
|
2018-10-01 11:52:56 +03:00
|
|
|
|
|
|
|
return " <li class=\"item-"
|
|
|
|
+ alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\">\n <a href=\"#\" class=\"menuitem action "
|
|
|
|
+ alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper)))
|
|
|
|
+ " permanent\" data-action=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\">\n"
|
|
|
|
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.iconClass : depth0),{"name":"if","hash":{},"fn":container.program(2, data, 0),"inverse":container.program(4, data, 0),"data":data})) != null ? stack1 : "")
|
|
|
|
+ " <span class=\"label\">"
|
|
|
|
+ alias4(((helper = (helper = helpers.displayName || (depth0 != null ? depth0.displayName : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"displayName","hash":{},"data":data}) : helper)))
|
|
|
|
+ "</span>\n </a>\n </li>\n";
|
|
|
|
},"2":function(container,depth0,helpers,partials,data) {
|
|
|
|
var helper;
|
|
|
|
|
|
|
|
return " <span class=\"icon "
|
2019-09-27 09:11:44 +03:00
|
|
|
+ container.escapeExpression(((helper = (helper = helpers.iconClass || (depth0 != null ? depth0.iconClass : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"iconClass","hash":{},"data":data}) : helper)))
|
2018-10-01 11:52:56 +03:00
|
|
|
+ "\"></span>\n";
|
|
|
|
},"4":function(container,depth0,helpers,partials,data) {
|
|
|
|
return " <span class=\"no-icon\"></span>\n";
|
2019-09-27 09:11:44 +03:00
|
|
|
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
2018-10-01 11:52:56 +03:00
|
|
|
var stack1;
|
|
|
|
|
|
|
|
return "<ul>\n"
|
|
|
|
+ ((stack1 = helpers.each.call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.items : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
|
|
+ "</ul>\n";
|
|
|
|
},"useData":true});
|
2019-09-27 09:11:44 +03:00
|
|
|
templates['filesummary'] = template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
2018-09-27 14:18:26 +03:00
|
|
|
var helper;
|
|
|
|
|
|
|
|
return "<span class=\"info\">\n <span class=\"dirinfo\"></span>\n <span class=\"connector\">"
|
2019-09-27 09:11:44 +03:00
|
|
|
+ container.escapeExpression(((helper = (helper = helpers.connectorLabel || (depth0 != null ? depth0.connectorLabel : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"connectorLabel","hash":{},"data":data}) : helper)))
|
2018-09-27 14:18:26 +03:00
|
|
|
+ "</span>\n <span class=\"fileinfo\"></span>\n <span class=\"hiddeninfo\"></span>\n <span class=\"filter\"></span>\n</span>\n";
|
|
|
|
},"useData":true});
|
2018-10-01 21:07:09 +03:00
|
|
|
templates['mainfileinfodetailsview'] = template({"1":function(container,depth0,helpers,partials,data) {
|
2019-09-27 09:11:44 +03:00
|
|
|
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression;
|
2018-10-01 21:07:09 +03:00
|
|
|
|
|
|
|
return " <a href=\"#\" class=\"action action-favorite favorite permanent\">\n <span class=\"icon "
|
|
|
|
+ alias4(((helper = (helper = helpers.starClass || (depth0 != null ? depth0.starClass : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"starClass","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\" title=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.starAltText || (depth0 != null ? depth0.starAltText : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"starAltText","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\"></span>\n </a>\n";
|
|
|
|
},"3":function(container,depth0,helpers,partials,data) {
|
2019-09-27 09:11:44 +03:00
|
|
|
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression;
|
2018-10-01 21:07:09 +03:00
|
|
|
|
|
|
|
return "<span class=\"size\" title=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.altSize || (depth0 != null ? depth0.altSize : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"altSize","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\">"
|
|
|
|
+ alias4(((helper = (helper = helpers.size || (depth0 != null ? depth0.size : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"size","hash":{},"data":data}) : helper)))
|
|
|
|
+ "</span>, ";
|
2019-09-27 09:11:44 +03:00
|
|
|
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
|
|
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression;
|
2018-10-01 21:07:09 +03:00
|
|
|
|
|
|
|
return "<div class=\"thumbnailContainer\"><a href=\"#\" class=\"thumbnail action-default\"><div class=\"stretcher\"/></a></div>\n<div class=\"file-details-container\">\n <div class=\"fileName\">\n <h3 title=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\" class=\"ellipsis\">"
|
|
|
|
+ alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper)))
|
|
|
|
+ "</h3>\n <a class=\"permalink\" href=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.permalink || (depth0 != null ? depth0.permalink : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"permalink","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\" title=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.permalinkTitle || (depth0 != null ? depth0.permalinkTitle : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"permalinkTitle","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\" data-clipboard-text=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.permalink || (depth0 != null ? depth0.permalink : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"permalink","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\">\n <span class=\"icon icon-clippy\"></span>\n <span class=\"hidden-visually\">"
|
|
|
|
+ alias4(((helper = (helper = helpers.permalinkTitle || (depth0 != null ? depth0.permalinkTitle : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"permalinkTitle","hash":{},"data":data}) : helper)))
|
|
|
|
+ "</span>\n </a>\n </div>\n <div class=\"file-details ellipsis\">\n"
|
|
|
|
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.hasFavoriteAction : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
|
|
+ " "
|
|
|
|
+ ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.hasSize : depth0),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
|
|
+ "<span class=\"date live-relative-timestamp\" data-timestamp=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.timestamp || (depth0 != null ? depth0.timestamp : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"timestamp","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\" title=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.altDate || (depth0 != null ? depth0.altDate : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"altDate","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\">"
|
|
|
|
+ alias4(((helper = (helper = helpers.date || (depth0 != null ? depth0.date : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"date","hash":{},"data":data}) : helper)))
|
|
|
|
+ "</span>\n </div>\n</div>\n<div class=\"hidden permalink-field\">\n <input type=\"text\" value=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.permalink || (depth0 != null ? depth0.permalink : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"permalink","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\" placeholder=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.permalinkTitle || (depth0 != null ? depth0.permalinkTitle : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"permalinkTitle","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\" readonly=\"readonly\"/>\n</div>\n";
|
|
|
|
},"useData":true});
|
2018-10-01 23:40:26 +03:00
|
|
|
templates['newfilemenu'] = template({"1":function(container,depth0,helpers,partials,data) {
|
2019-09-27 09:11:44 +03:00
|
|
|
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression;
|
2018-10-01 23:40:26 +03:00
|
|
|
|
|
|
|
return " <li>\n <a href=\"#\" class=\"menuitem\" data-templatename=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.templateName || (depth0 != null ? depth0.templateName : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"templateName","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\" data-filetype=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.fileType || (depth0 != null ? depth0.fileType : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"fileType","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\" data-action=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"id","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\"><span class=\"icon "
|
|
|
|
+ alias4(((helper = (helper = helpers.iconClass || (depth0 != null ? depth0.iconClass : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"iconClass","hash":{},"data":data}) : helper)))
|
|
|
|
+ " svg\"></span><span class=\"displayname\">"
|
|
|
|
+ alias4(((helper = (helper = helpers.displayName || (depth0 != null ? depth0.displayName : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"displayName","hash":{},"data":data}) : helper)))
|
|
|
|
+ "</span></a>\n </li>\n";
|
2019-09-27 09:11:44 +03:00
|
|
|
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
|
|
var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression;
|
2018-10-01 23:40:26 +03:00
|
|
|
|
|
|
|
return "<ul>\n <li>\n <label for=\"file_upload_start\" class=\"menuitem\" data-action=\"upload\" title=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.uploadMaxHumanFilesize || (depth0 != null ? depth0.uploadMaxHumanFilesize : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"uploadMaxHumanFilesize","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\" tabindex=\"0\"><span class=\"svg icon icon-upload\"></span><span class=\"displayname\">"
|
|
|
|
+ alias4(((helper = (helper = helpers.uploadLabel || (depth0 != null ? depth0.uploadLabel : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"uploadLabel","hash":{},"data":data}) : helper)))
|
|
|
|
+ "</span></label>\n </li>\n"
|
|
|
|
+ ((stack1 = helpers.each.call(alias1,(depth0 != null ? depth0.items : depth0),{"name":"each","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
|
|
|
|
+ "</ul>\n";
|
|
|
|
},"useData":true});
|
2019-09-27 09:11:44 +03:00
|
|
|
templates['newfilemenu_filename_form'] = template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
|
|
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression;
|
2018-10-01 23:40:26 +03:00
|
|
|
|
|
|
|
return "<form class=\"filenameform\">\n <input id=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.cid || (depth0 != null ? depth0.cid : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"cid","hash":{},"data":data}) : helper)))
|
|
|
|
+ "-input-"
|
|
|
|
+ alias4(((helper = (helper = helpers.fileType || (depth0 != null ? depth0.fileType : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"fileType","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\" type=\"text\" value=\""
|
|
|
|
+ alias4(((helper = (helper = helpers.fileName || (depth0 != null ? depth0.fileName : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"fileName","hash":{},"data":data}) : helper)))
|
2018-10-04 17:01:39 +03:00
|
|
|
+ "\" autocomplete=\"off\" autocapitalize=\"off\">\n <input type=\"submit\" value=\" \" class=\"icon-confirm\" />\n</form>\n";
|
2018-10-01 23:40:26 +03:00
|
|
|
},"useData":true});
|
2019-09-27 09:11:44 +03:00
|
|
|
templates['operationprogressbar'] = template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
2018-11-14 01:19:08 +03:00
|
|
|
var helper;
|
|
|
|
|
|
|
|
return "<div id=\"uploadprogressbar\">\n <em class=\"label outer\" style=\"display:none\"></em>\n</div>\n<button class=\"stop icon-close\" style=\"display:none\">\n <span class=\"hidden-visually\">"
|
2019-09-27 09:11:44 +03:00
|
|
|
+ container.escapeExpression(((helper = (helper = helpers.textCancelButton || (depth0 != null ? depth0.textCancelButton : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"textCancelButton","hash":{},"data":data}) : helper)))
|
2018-11-14 01:19:08 +03:00
|
|
|
+ "</span>\n</button>\n";
|
|
|
|
},"useData":true});
|
2019-09-27 09:11:44 +03:00
|
|
|
templates['operationprogressbarlabel'] = template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
|
|
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression;
|
2018-11-13 20:30:32 +03:00
|
|
|
|
2018-11-14 01:19:08 +03:00
|
|
|
return "<em class=\"label\">\n <span class=\"desktop\">"
|
2018-11-13 20:30:32 +03:00
|
|
|
+ alias4(((helper = (helper = helpers.textDesktop || (depth0 != null ? depth0.textDesktop : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"textDesktop","hash":{},"data":data}) : helper)))
|
2018-11-14 01:19:08 +03:00
|
|
|
+ "</span>\n <span class=\"mobile\">"
|
2018-11-13 20:30:32 +03:00
|
|
|
+ alias4(((helper = (helper = helpers.textMobile || (depth0 != null ? depth0.textMobile : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"textMobile","hash":{},"data":data}) : helper)))
|
2018-11-14 01:19:08 +03:00
|
|
|
+ "</span>\n</em>\n";
|
2018-11-13 20:30:32 +03:00
|
|
|
},"useData":true});
|
2019-09-27 09:11:44 +03:00
|
|
|
templates['template_addbutton'] = template({"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
|
|
var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression;
|
2018-10-01 19:50:09 +03:00
|
|
|
|
|
|
|
return "<a href=\"#\" class=\"button new\">\n <span class=\"icon "
|
|
|
|
+ alias4(((helper = (helper = helpers.iconClass || (depth0 != null ? depth0.iconClass : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"iconClass","hash":{},"data":data}) : helper)))
|
|
|
|
+ "\"></span>\n <span class=\"hidden-visually\">"
|
|
|
|
+ alias4(((helper = (helper = helpers.addText || (depth0 != null ? depth0.addText : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"addText","hash":{},"data":data}) : helper)))
|
|
|
|
+ "</span>\n</a>\n";
|
|
|
|
},"useData":true});
|
2018-09-27 14:18:26 +03:00
|
|
|
})();
|