Skip to content

Commit

Permalink
make custom hub menu optional
Browse files Browse the repository at this point in the history
  • Loading branch information
sualfred committed Mar 11, 2019
1 parent 4a7565d commit 3856f7b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions xml/Custom_1125_CustomHub.xml
Expand Up @@ -7,6 +7,12 @@
<param name="ShowHeader" value="true"/>
</include>
<controls>
<control type="list" id="9">
<include>HiddenObject</include>
<content>
<include>skinshortcuts-group-customhub</include>
</content>
</control>
<!-- background -->
<include>Background</include>
<!-- hub -->
Expand All @@ -30,6 +36,7 @@
<param name="ondown" value="200"/>
<param name="headline" value="$VAR[CustomHubHeadline]"/>
<param name="content" value="skinshortcuts-group-customhub"/>
<param name="visible" value="Integer.IsGreater(Container(9).NumItems,0)"/>
</include>
<include content="WidgetCallTemplate">
<param name="onup" value="100"/>
Expand Down
2 changes: 2 additions & 0 deletions xml/Embuary_Widgets.xml
Expand Up @@ -700,8 +700,10 @@
<include name="WidgetSmallMenu">
<param name="headline">$LOCALIZE[416]</param>
<param name="mainlabel">$INFO[ListItem.Label]</param>
<param name="visible">true</param>
<definition>
<control type="group" id="$PARAM[id]1">
<visible>$PARAM[visible]</visible>
<width>100%</width>
<height>239</height>
<control type="group">
Expand Down

0 comments on commit 3856f7b

Please sign in to comment.