aboutsummaryrefslogtreecommitdiff
path: root/web/public
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2013-01-06 22:00:25 +0100
committerJochen Topf <jochen@topf.org>2013-01-06 22:00:25 +0100
commit068fc5d43dd2a0e01025b018b682b39089a57338 (patch)
treef1a1211555d2539e7c887b7bed01b0c39425eca4 /web/public
parentd0998e64dcc402773b256907bc382e858368db90 (diff)
downloadtaginfo-068fc5d43dd2a0e01025b018b682b39089a57338.tar
taginfo-068fc5d43dd2a0e01025b018b682b39089a57338.tar.gz
New print_checkmark javascript function
Diffstat (limited to 'web/public')
-rw-r--r--web/public/js/taginfo.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/public/js/taginfo.js b/web/public/js/taginfo.js
index 83926e3..8a9216e 100644
--- a/web/public/js/taginfo.js
+++ b/web/public/js/taginfo.js
@@ -123,6 +123,10 @@ function print_with_ts(value) {
}
}
+function print_checkmark(value) {
+ return value ? '&#x2714;' : '-';
+}
+
/* ============================ */
function print_key_or_tag_list(list) {