<% Story.online %> |
macro rendering online status of story |
Sourcecode in Story/macros.js:
1: function online_macro(param) { 2: if (!this.online) 3: res.write(param.no ? param.no : "offline"); 4: else 5: res.write(param.yes ? param.yes : "online"); 6: return; 7: } |