Mercurial > lada > lada-client
comparison app/view/proben/List.js @ 363:3bed0373cf50
Fixed display of lock and unlock items.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Thu, 15 Aug 2013 16:58:38 +0200 |
parents | 94884cd8f8c0 |
children | d0f5be50aed5 |
comparison
equal
deleted
inserted
replaced
362:6a7a9267e00f | 363:3bed0373cf50 |
---|---|
67 * Helper function to render a readonly symbol per row in the grid | 67 * Helper function to render a readonly symbol per row in the grid |
68 * @param {Boolean} flag if the symbol is a readonly symbol. | 68 * @param {Boolean} flag if the symbol is a readonly symbol. |
69 */ | 69 */ |
70 function render_readonly (value) { | 70 function render_readonly (value) { |
71 if (value) { | 71 if (value) { |
72 return '🔒' | 72 return '<img src="gfx/lock_16x16.png"/>'; |
73 } else { | 73 } else { |
74 return '🔓' | 74 return '<img src="gfx/unlock_16x16.png"/>'; |
75 } | 75 } |
76 } | 76 } |