Add labels to the Layout templates so they show up in Shortcut overrides. Fixes bug #11476.
This commit is contained in:
parent
16a2e4e398
commit
fb14f13a4b
2 changed files with 10 additions and 3 deletions
|
|
@ -3,6 +3,7 @@
|
|||
- fixed #11472: View Calendar Month help missing
|
||||
- fixed #11471: Errors in Calendar Event Edit template (Dale Trexel / U of MN Law School)
|
||||
- fixed #11475: Inherit permissions on imported package fails if asset already exists.
|
||||
- fixed #11476: Missing override in Page Layout shortcut
|
||||
|
||||
7.9.0
|
||||
- added #11383: AJAX username checks at registration (Luke Robinson / Orchard Solutions)
|
||||
|
|
|
|||
|
|
@ -67,13 +67,17 @@ sub definition {
|
|||
tableName=>'Layout',
|
||||
className=>'WebGUI::Asset::Wobject::Layout',
|
||||
properties=>{
|
||||
templateId =>{
|
||||
templateId => {
|
||||
label => $i18n->get('layout template title'),
|
||||
hoverHelp => $i18n->get('template description'),
|
||||
fieldType =>"template",
|
||||
namespace => "Layout",
|
||||
defaultValue =>'PBtmpl0000000000000054',
|
||||
},
|
||||
mobileTemplateId => {
|
||||
fieldType => ( $session->style->useMobileStyle ? 'template' : 'hidden' ),
|
||||
label => $i18n->get('mobileTemplateId label'),
|
||||
hoverHelp => $i18n->get('mobileTemplateId description'),
|
||||
namespace => 'Layout',
|
||||
defaultValue => 'PBtmpl0000000000000054',
|
||||
},
|
||||
|
|
@ -87,8 +91,10 @@ sub definition {
|
|||
fieldType =>"checkList"
|
||||
},
|
||||
assetOrder => {
|
||||
defaultValue =>'asc',
|
||||
fieldType =>'selectBox',
|
||||
defaultValue => 'asc',
|
||||
fieldType => 'selectBox',
|
||||
label => $i18n->get('asset order label'),
|
||||
hoverHelp => $i18n->get('asset order hoverHelp'),
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue