diff --git a/client/glyph.js b/client/glyph.js index a5c1c8ca..0888ecb8 100644 --- a/client/glyph.js +++ b/client/glyph.js @@ -186,6 +186,12 @@ Template.glyph.helpers({ var glyph = Session.get('glyph.data'); return glyph && glyph.manual.verified ? 'verified' : undefined; }, + log: function() { + var glyph = Session.get('glyph.data'); + return glyph ? glyph.render.log.map(function(pair) { + return {log_class: pair[0], log_message: pair[1]}; + }) : []; + }, base_color: function() { return Session.get('glyph.show_strokes') ? 'black' : 'gray'; }, diff --git a/client/index.html b/client/index.html index 7d58307d..8669332f 100644 --- a/client/index.html +++ b/client/index.html @@ -59,6 +59,11 @@