Add an option for certain templates to be read only

This commit is contained in:
Tautvidas Sipavičius
2015-11-30 18:23:43 +02:00
parent 8461c13532
commit d21d9b99b0
4 changed files with 8 additions and 5 deletions

View File

@ -99,7 +99,7 @@ define(
"MailPoet's Guide",
description:
"This is the standard template that comes with MailPoet.",
readonly: true
readonly: "1"
}
]
}
@ -210,7 +210,7 @@ define(
Preview
</a>
</div>
{ (template.readonly) ? false : deleteLink }
{ (template.readonly === "1") ? false : deleteLink }
</li>
);
}.bind(this));