You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by rg...@apache.org on 2013/03/02 07:36:37 UTC
svn commit: r1451840 - in /wookie/trunk/widgets/templates:
assetPlayer/content_albums_secondary.html
assetPlayer/default.widget.properties build.xml readme.txt
Author: rgardler
Date: Sat Mar 2 06:36:37 2013
New Revision: 1451840
URL: http://svn.apache.org/r1451840
Log:
enable customisation of elements in the UI using the common/widget.properties and widget.properties files
Modified:
wookie/trunk/widgets/templates/assetPlayer/content_albums_secondary.html
wookie/trunk/widgets/templates/assetPlayer/default.widget.properties
wookie/trunk/widgets/templates/build.xml
wookie/trunk/widgets/templates/readme.txt
Modified: wookie/trunk/widgets/templates/assetPlayer/content_albums_secondary.html
URL: http://svn.apache.org/viewvc/wookie/trunk/widgets/templates/assetPlayer/content_albums_secondary.html?rev=1451840&r1=1451839&r2=1451840&view=diff
==============================================================================
--- wookie/trunk/widgets/templates/assetPlayer/content_albums_secondary.html (original)
+++ wookie/trunk/widgets/templates/assetPlayer/content_albums_secondary.html Sat Mar 2 06:36:37 2013
@@ -1 +1 @@
-<a id="showSettings" href="#" data-role="button" data-mini="true">Settings</a>
+<a id="showSettings" href="#" data-role="button" data-mini="true">${assettPlayer.settings.text}</a>
Modified: wookie/trunk/widgets/templates/assetPlayer/default.widget.properties
URL: http://svn.apache.org/viewvc/wookie/trunk/widgets/templates/assetPlayer/default.widget.properties?rev=1451840&r1=1451839&r2=1451840&view=diff
==============================================================================
--- wookie/trunk/widgets/templates/assetPlayer/default.widget.properties (original)
+++ wookie/trunk/widgets/templates/assetPlayer/default.widget.properties Sat Mar 2 06:36:37 2013
@@ -6,3 +6,5 @@ twoColumn.primary.position=left
twoColumn.secondary.position=right
scanning.start=false
+
+assetPlayer.settings.text=Settings
\ No newline at end of file
Modified: wookie/trunk/widgets/templates/build.xml
URL: http://svn.apache.org/viewvc/wookie/trunk/widgets/templates/build.xml?rev=1451840&r1=1451839&r2=1451840&view=diff
==============================================================================
--- wookie/trunk/widgets/templates/build.xml (original)
+++ wookie/trunk/widgets/templates/build.xml Sat Mar 2 06:36:37 2013
@@ -386,7 +386,7 @@
<ant antfile="${template.dir}/${template.name}/template_build.xml"
target="_init_template"/>
-
+
<property file="${widget.build.dir}/${widget.shortname}.properties"/>
<property file="${template.dir}/default.widget.properties"/>
@@ -491,6 +491,8 @@
<target name="_init_widget_generation">
<!-- Read widget defined properties -->
<property file="widget.properties"/>
+ <!-- Read common properties -->
+ <property file="../common/widget.properties"/>
<!-- Read template default properties -->
<property file="${template.dir}/${template.name}/default.widget.properties"/>
<!-- Read master default properties -->
Modified: wookie/trunk/widgets/templates/readme.txt
URL: http://svn.apache.org/viewvc/wookie/trunk/widgets/templates/readme.txt?rev=1451840&r1=1451839&r2=1451840&view=diff
==============================================================================
--- wookie/trunk/widgets/templates/readme.txt (original)
+++ wookie/trunk/widgets/templates/readme.txt Sat Mar 2 06:36:37 2013
@@ -101,9 +101,11 @@ This section describes in some detail wh
Widgets are defined by a set of properties. The first set of
properties are used by all widgets and are defined in
-"widget.properties". You created a widget directory and defined these
-properties by copying the default properties provided by the template
-system.
+"widget.properties" the next are defined in
+"../common/widget.properties" the last are the "default.widget.properties"
+provided by the template. You created a widget directory and defined
+the "widget.properties" file by copying the default properties
+provided by the template system.
Most of these properties should be self explanatory, with the
exception of the "template.name". This is the name of the template