From 73e704c97c1784f3fcdd0b913b49f3efa60cd89c Mon Sep 17 00:00:00 2001 From: Ramiro Saenz Date: Mon, 26 Sep 2016 13:51:29 -0300 Subject: [PATCH] New footer Added translation support --- app/view/main/Main.js | 45 ++++++++++++++++++++++++++----------------- 1 file changed, 27 insertions(+), 18 deletions(-) diff --git a/app/view/main/Main.js b/app/view/main/Main.js index a4d8c40b..7fc1f123 100644 --- a/app/view/main/Main.js +++ b/app/view/main/Main.js @@ -291,16 +291,18 @@ Ext.define('Rambox.view.main.Main', { ,allowToggle: false ,items: [ { - text: 'Donate with' - ,handler: 'showDonate' + text: 'Help us with' + ,pressed: true } ,{ - glyph: 'xf1ed@FontAwesome' + text: 'Donation' + ,glyph: 'xf21e@FontAwesome' ,handler: 'showDonate' } ,{ - glyph: 'xf15a@FontAwesome' - ,handler: 'showDonate' + text: 'Translation' + ,glyph: 'xf0ac@FontAwesome' + ,href: 'https://crowdin.com/project/rambox/invite' } ] } @@ -311,19 +313,26 @@ Ext.define('Rambox.view.main.Main', { } ,'->' ,{ - glyph: 'xf082@FontAwesome' - ,tooltip: 'Facebook' - ,href: 'https://www.facebook.com/ramboxapp' - } - ,{ - glyph: 'xf099@FontAwesome' - ,tooltip: 'Twitter' - ,href: 'https://www.twitter.com/ramboxapp' - } - ,{ - glyph: 'xf09b@FontAwesome' - ,tooltip: 'GitHub' - ,href: 'https://www.github.com/saenzramiro/rambox' + xtype: 'segmentedbutton' + ,allowToggle: false + ,items: [ + { + text: 'Follow us' + ,pressed: true + } + ,{ + glyph: 'xf082@FontAwesome' + ,href: 'https://www.facebook.com/ramboxapp' + } + ,{ + glyph: 'xf099@FontAwesome' + ,href: 'https://www.twitter.com/ramboxapp' + } + ,{ + glyph: 'xf09b@FontAwesome' + ,href: 'https://www.github.com/saenzramiro/rambox' + } + ] } ] }