Make a hexadecimal version of the assetId available for templates.
This commit is contained in:
parent
8a0b6ac3e6
commit
f715630a7b
2 changed files with 18 additions and 6 deletions
|
|
@ -15,20 +15,22 @@ our $HELP = {
|
||||||
title => 'asset template asset var title',
|
title => 'asset template asset var title',
|
||||||
body => '',
|
body => '',
|
||||||
variables => [
|
variables => [
|
||||||
{ name => 'title', },
|
{ name => 'assetId', },
|
||||||
|
{ name => 'assetIdHex', },
|
||||||
|
{ name => 'title', },
|
||||||
{ name => 'menuTitle', },
|
{ name => 'menuTitle', },
|
||||||
{ name => 'url', },
|
{ name => 'url', },
|
||||||
{ name => 'isHidden', },
|
{ name => 'isHidden', },
|
||||||
{ name => 'newWindow', },
|
{ name => 'newWindow', },
|
||||||
{ name => 'encryptPage', },
|
{ name => 'encryptPage', },
|
||||||
{ name => 'ownerUserId', },
|
{ name => 'ownerUserId', },
|
||||||
{ name => 'groupIdView', },
|
{ name => 'groupIdView', },
|
||||||
{ name => 'groupIdEdit', },
|
{ name => 'groupIdEdit', },
|
||||||
{ name => 'synopsis', },
|
{ name => 'synopsis', },
|
||||||
{ name => 'extraHeadTags', },
|
{ name => 'extraHeadTags', },
|
||||||
{ name => 'isPackage', },
|
{ name => 'isPackage', },
|
||||||
{ name => 'isPrototype', },
|
{ name => 'isPrototype', },
|
||||||
{ name => 'status', },
|
{ name => 'status', },
|
||||||
{ name => 'assetSize', },
|
{ name => 'assetSize', },
|
||||||
{ name => 'keywords',
|
{ name => 'keywords',
|
||||||
description => 'keywords template var' },
|
description => 'keywords template var' },
|
||||||
|
|
|
||||||
|
|
@ -1088,6 +1088,16 @@ Couldn't open %-s because %-s <br />
|
||||||
lastUpdated => 1100463645,
|
lastUpdated => 1100463645,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
'assetId' => {
|
||||||
|
message => q|The unique identifier for this Asset, in base64 encoding.|,
|
||||||
|
lastUpdated => 1256327617,
|
||||||
|
},
|
||||||
|
|
||||||
|
'assetIdHex' => {
|
||||||
|
message => q|The unique identifier for this Asset, in hexadecimal format.|,
|
||||||
|
lastUpdated => 1256327617,
|
||||||
|
},
|
||||||
|
|
||||||
'title' => {
|
'title' => {
|
||||||
message => q|The title of the Asset|,
|
message => q|The title of the Asset|,
|
||||||
lastUpdated => 1160773957,
|
lastUpdated => 1160773957,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue