[Lada-commits] [PATCH 1 of 2] Fixed display of lock and unlock items

Wald Commits scm-commit at wald.intevation.org
Thu Aug 15 17:00:17 CEST 2013


# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1376578718 -7200
# Node ID 3bed0373cf50bd4e109ef74804bb8895154ffc7e
# Parent  6a7a9267e00fa72568f8a248d327968668c69253
Fixed display of lock and unlock items.

diff -r 6a7a9267e00f -r 3bed0373cf50 app/view/proben/List.js
--- a/app/view/proben/List.js	Thu Aug 15 14:07:35 2013 +0200
+++ b/app/view/proben/List.js	Thu Aug 15 16:58:38 2013 +0200
@@ -69,8 +69,8 @@
  */
 function render_readonly (value) {
     if (value) {
-        return '🔒'
+        return '<img src="gfx/lock_16x16.png"/>';
     } else {
-        return '🔓'
+        return '<img src="gfx/unlock_16x16.png"/>';
     }
 }
diff -r 6a7a9267e00f -r 3bed0373cf50 gfx/lock_16x16.png
Binary file gfx/lock_16x16.png has changed
diff -r 6a7a9267e00f -r 3bed0373cf50 gfx/unlock_16x16.png
Binary file gfx/unlock_16x16.png has changed


More information about the Lada-commits mailing list