Compare commits
1 Commits
#18172-bet
...
fixes/repl
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ec48ecf6cd |
@@ -88,7 +88,7 @@ class Label implements View
|
||||
|
||||
if ($template->getSupportTitle()) {
|
||||
$title = !empty($settings->label2_title) ?
|
||||
str_ireplace(':company', $asset->company->name, $settings->label2_title) :
|
||||
str_ireplace('{COMPANY}', $asset->company->name, $settings->label2_title) :
|
||||
$settings->qr_text;
|
||||
if (!empty($title)) $assetData->put('title', $title);
|
||||
}
|
||||
|
||||
@@ -336,7 +336,7 @@ return [
|
||||
'label2_template_help' => 'Select which template to use for label generation',
|
||||
'label2_title' => 'Title',
|
||||
'label2_title_help' => 'The title to show on labels that support it',
|
||||
'label2_title_help_phold' => 'The placeholder <code>:company</code> will be replaced with the asset's company name',
|
||||
'label2_title_help_phold' => 'The placeholder <code>{COMPANY}</code> will be replaced with the asset's company name',
|
||||
'label2_asset_logo' => 'Use Asset Logo',
|
||||
'label2_asset_logo_help' => 'Use the logo of the asset's assigned company, rather than the value at <code>:setting_name</code>',
|
||||
'label2_1d_type' => '1D Barcode Type',
|
||||
|
||||
Reference in New Issue
Block a user