Commit ed374e1b authored by Thomas Flemmer's avatar Thomas Flemmer

edit code for pull request

parent e4d3e2f8
......@@ -275,8 +275,8 @@ Ext.define("ARSnova.controller.Auth", {
}
},
MessageOfTheDay: function (role, callback) {
console.log("Controller: Auth.MessageOfTheDay");
messageOfTheDay: function (role, callback) {
console.log("Controller: Auth.messageOfTheDay");
var mainTabPanel = ARSnova.app.mainTabPanel.tabPanel;
var hTP = mainTabPanel.homeTabPanel;
......
......@@ -96,7 +96,7 @@
MESSAGEOFTHEDAY: "Message of the Day",
MESSAGEOFTHEDAY_BUTTON: "MotD",
CREATE_NEW_MOTD: "Neue Message anlegen",
MY_MESSAGES:"Alle Nachrichten:",
MY_MESSAGES: "Alle Nachrichten:",
NEW_MOTD: "Neue Message",
SAVE_NEW_MESSAGE: "Speichern",
EDIT_MOTD: "Nachricht Bearbeiten",
......
......@@ -16,7 +16,7 @@
* You should have received a copy of the GNU General Public License
* along with ARSnova Mobile. If not, see <http://www.gnu.org/licenses/>.
*/
Ext.define('ARSnova.view.home.editMotdPanel', {
Ext.define('ARSnova.view.home.EditMotdPanel', {
extend: 'Ext.Panel',
config: {
......
......@@ -16,7 +16,7 @@
* You should have received a copy of the GNU General Public License
* along with ARSnova Mobile. If not, see <http://www.gnu.org/licenses/>.
*/
Ext.define('ARSnova.view.home.motdPanel', {
Ext.define('ARSnova.view.home.MotdPanel', {
extend: 'Ext.Panel',
requires: [
......@@ -97,8 +97,6 @@ Ext.define('ARSnova.view.home.motdPanel', {
align: 'right',
ui: 'confirm',
scope: this,
//ARSnova.app.getController('Application').showMessageOfTheDay();
handler: function () {
var hTP = ARSnova.app.mainTabPanel.tabPanel.homeTabPanel;
hTP.animateActiveItem(hTP.motdPanel, 'slide');
......@@ -206,7 +204,7 @@ Ext.define('ARSnova.view.home.motdPanel', {
//keyword: options.config.messageObj.keyword
//});
console.log("buttonhandler");
this.editMotdPanel = Ext.create('ARSnova.view.home.editMotdPanel');
this.editMotdPanel = Ext.create('ARSnova.view.home.EditMotdPanel');
var hTP = ARSnova.app.mainTabPanel.tabPanel.homeTabPanel;
hTP.animateActiveItem(hTP.editMotdPanel, {
type: 'slide',
......
......@@ -24,9 +24,9 @@ Ext.define('ARSnova.view.home.TabPanel', {
'ARSnova.view.home.HomePanel',
'ARSnova.view.home.MySessionsPanel',
'ARSnova.view.home.NewSessionPanel',
'ARSnova.view.home.motdPanel',
'ARSnova.view.home.MotdPanel',
'ARSnova.view.home.NewMotdPanel',
'ARSnova.view.home.editMotdPanel'
'ARSnova.view.home.EditMotdPanel'
],
config: {
......@@ -42,9 +42,9 @@ Ext.define('ARSnova.view.home.TabPanel', {
this.homePanel = Ext.create('ARSnova.view.home.HomePanel');
this.mySessionsPanel = Ext.create('ARSnova.view.home.MySessionsPanel');
this.newSessionPanel = Ext.create('ARSnova.view.home.NewSessionPanel');
this.motdPanel = Ext.create('ARSnova.view.home.motdPanel');
this.motdPanel = Ext.create('ARSnova.view.home.MotdPanel');
this.newMotdPanel = Ext.create('ARSnova.view.home.NewMotdPanel');
this.editMotdPanel = Ext.create('ARSnova.view.home.editMotdPanel');
this.editMotdPanel = Ext.create('ARSnova.view.home.EditMotdPanel');
this.add([
this.homePanel,
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment