From 58f132546d0847a9b70d57e30c0e060ad3044575 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sun, 4 Mar 2012 23:29:12 +0100 Subject: [PATCH] Move logs to more menu --- couchpotato/core/plugins/log/static/log.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/log/static/log.js b/couchpotato/core/plugins/log/static/log.js index 0bbb2682..8f5baf5e 100644 --- a/couchpotato/core/plugins/log/static/log.js +++ b/couchpotato/core/plugins/log/static/log.js @@ -2,8 +2,22 @@ Page.Log = new Class({ Extends: PageBase, - name: 'log', + name: 'logs', title: 'Show recent logs.', + has_tab: false, + + initialize: function(options){ + var self = this; + self.parent(options) + + + App.getBlock('more').addLink(new Element('a', { + 'href': App.createUrl(self.name), + 'text': self.name.capitalize(), + 'title': self.title + })) + + }, indexAction: function(){ var self = this;