diff --git a/blueprint/designer.html b/blueprint/designer.html
index a8cad0f..4281302 100644
--- a/blueprint/designer.html
+++ b/blueprint/designer.html
@@ -62,7 +62,7 @@
{% end %}
{% if data['style'][key]['type'] == "text" %}
-
{{ data['style'][key]['div']['text-name'] }}
@@ -126,7 +126,7 @@
{% end %}
{% if data['style'][key]['type'] == "virtual" %}
-
{{ data['style'][key]['div']['text-name'] }} XXX.XX {{ data['style'][key]['div']['unit-name'] }}
@@ -1479,6 +1479,11 @@
return params[item] = largerThan || "";
}
+function getTitleLink(element_id, item) {
+ var titleLink = $("#" + element_id).attr("data-title-link");
+ return params[item] = titleLink || "";
+}
+
// Helper function: changes the font_weight value from numeric to string
function interpretFontWeight(font_weight_value) {
switch (font_weight_value) {
@@ -1543,6 +1548,8 @@
params[item] = getIntegerToString(element_id, item);
} else if (item_array[2] == "icon_type") {
params[item] = getIconType(element_id, item);
+ } else if (item_array[2] == "title_link") {
+ params[item] = getTitleLink(element_id, item);
} else {
if (item_array[item_array.length - 1] == "nodata") {
params[item] = getElementStyle(element_id, item, item_array);
@@ -1624,6 +1631,10 @@
$("#" + element_id).attr('data-trend', params[item]);
}
+function updateTitleLink(item, element_id) {
+ $("#" + element_id).attr('data-title-link', params[item]);
+}
+
// Helper Function: updates the css style properties
function updateElementStyle(item, element_id, css_property) {
$("#" + element_id).css(css_property, params[item]);
@@ -1688,6 +1699,9 @@
case "trend":
updateTrend(item, element_id);
break;
+ case "title_link":
+ updateTitleLink(item, element_id);
+ break;
default:
updateElementStyle(item, element_id, css_property);
break;
diff --git a/typedef/text.yaml b/typedef/text.yaml
index 33e1e18..10cfecc 100755
--- a/typedef/text.yaml
+++ b/typedef/text.yaml
@@ -4,6 +4,11 @@
"type": "string"
"optional": "No"
"data": "No"
+ "title_link":
+ "value": ""
+ "type": "string"
+ "optional": "Yes"
+ "data": "Yes"
"font_size":
"value": ""
"type": "string"