Signed-off-by: Adam Bowling <abowling@emeralddata.net>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
</div>
<div class="eg-print-label-section" ng-if="preview_scope.toolbox_settings.page.dimensions.rows > 1 || preview_scope.toolbox_settings.page.dimensions.columns > 1">
<h4>Starting Position on Label Grid</h4>
- <p>Specify the starting row and column where labels should begin printing. Values must not exceed the respective row and column size specified in "Print Grid Size"</p>
+ <p>Specify the starting <span ng-if="preview_scope.toolbox_settings.feed_option.selected == 'sheet'">row and </span>column where labels should begin printing. Values must not exceed the respective <span ng-if="preview_scope.toolbox_settings.feed_option.selected == 'sheet'">row and </span>column size specified in "Print Grid Size"</p>
<ul>
<li ng-if="preview_scope.toolbox_settings.feed_option.selected === 'sheet'">
<label>Row:</label>
egCore.print.fleshPrintScope($scope.preview_scope);
$scope.template_changed(); // load the default
$scope.rebuild_cn_set();
+ if ($scope.preview_scope.toolbox_settings && $scope.template_name && $scope.print.template_content) {
+ var re = /eg\_plt/i;
+ if (re.test($scope.print.template_content)) {\r
+ $scope.applyTemplate($scope.template_name);\r
+ $scope.redraw_label_table();\r
+ }
+ }
});
});
var output = (style ? style.join("\n") : "") + (comments ? comments.join("\n") : "") + table;
output = output.replace(/\n+/, "\n");
$scope.print.template_content = output;
+ $scope.save_locally();
}
}