diff --git a/app/assets/javascripts/app/controllers/_application_controller_generic.js.coffee b/app/assets/javascripts/app/controllers/_application_controller_generic.js.coffee index ac2467f6c..0df43ad27 100644 --- a/app/assets/javascripts/app/controllers/_application_controller_generic.js.coffee +++ b/app/assets/javascripts/app/controllers/_application_controller_generic.js.coffee @@ -188,8 +188,6 @@ class App.ControllerLevel2 extends App.Controller constructor: -> super - return if !@authenticate() - render: -> @log 'ttt', @target, @ # set title @@ -227,4 +225,22 @@ class App.ControllerLevel2 extends App.Controller @el.find('.tabbable').addClass('hide') @el.find('#' + target).removeClass('hide') # window.scrollTo(0,0) - \ No newline at end of file + +class App.ControllerTabs extends App.Controller + constructor: -> + super + + render: -> + @html App.view('generic/tabs')( + tabs: @tabs, + ) + @el.find('.nav-tabs li:first').addClass('active') + + for tab in @tabs + @el.find('.tab-content').append('
lala alals alals ala.
-lala alals alals ala.
-Host | @@ -76,29 +70,3 @@
---|
lala alals alals ala.
-o References - Executes follow up checks on In-Reply-To or References headers for mails that don't have a ticket number in the subject.
-o Body - Executes follow up mail body checks in mails that don't have a ticket number in the subject.
-o Attachment - Executes follow up mail attachments checks in mails that don't have a ticket number in the subject.
-o Raw - Executes follow up plain/raw mail checks in mails that don't have a ticket number in the subject.
-Defines the state of a ticket if it gets a follow-up.
-Blocks all the incoming emails that do not have a valid ticket number in subject with From: @example.com address.
-Defines the subject for rejected emails.
-Defines the body for rejected emails.
-If this regex matches, no message will be send by the autoresponder.
-(MAILER-DAEMON|postmaster|abuse)@.+?\..+?
-lala alals alals ala.
-lala alals alals ala.
-lala alals alals ala.
-lala alals alals ala.
-lala alals alals ala.
-lala alals alals ala.
-