|
@@ -189,13 +189,13 @@ $time_of_day_options = [
|
|
|
<h3>Template Overrides</h3>
|
|
<h3>Template Overrides</h3>
|
|
|
|
|
|
|
|
<?php
|
|
<?php
|
|
|
- if(empty($project->template_overrides_json)) {
|
|
|
|
|
|
|
+ $overrides = $project->getTemplateOverrides();
|
|
|
|
|
+ if(empty($overrides)) {
|
|
|
?>
|
|
?>
|
|
|
<div class="alert alert-info">There are no template overrides configured for this project.</div>
|
|
<div class="alert alert-info">There are no template overrides configured for this project.</div>
|
|
|
<?php
|
|
<?php
|
|
|
}
|
|
}
|
|
|
else {
|
|
else {
|
|
|
- $overrides = $project->getTemplateOverrides();
|
|
|
|
|
$fields = $template->getFields();
|
|
$fields = $template->getFields();
|
|
|
?>
|
|
?>
|
|
|
<table class="table table-bordered table-hover">
|
|
<table class="table table-bordered table-hover">
|