diff --git a/app/assets/javascripts/app/controllers/widget/dev_banner.js.coffee b/app/assets/javascripts/app/controllers/widget/dev_banner.js.coffee new file mode 100644 index 000000000..b0551ab06 --- /dev/null +++ b/app/assets/javascripts/app/controllers/widget/dev_banner.js.coffee @@ -0,0 +1,21 @@ +class Widget + constructor: -> + return if App.Config.get('developer_mode') + banner = """ +| _ +| _____ __(_) +| /__ / ____ _____ ___ ____ ___ ____ _____/ / +| / / / __ `/ __ `__ \\/ __ `__ \\/ __ `/ __ / +| / /__/ /_/ / / / / / / / / / / / /_/ / /_/ / +| /____/\\__,_/_/ /_/ /_/_/ /_/ /_/\\__,_/\\__,_/ +| +| Hi there, nice to meet you! +| +| Visit %chttp://zammad.com/jobs%c to learn about our current job openings. +| +| Your Zammad Team! +| +""" + console.log(banner, "text-decoration: underline;", "text-decoration: none;") + +App.Config.set( 'dev_banner', Widget, 'Widgets' )