* WIP on theme by Luciano Ayres

* %TL for area name vs MA which is to become "default" message area
This commit is contained in:
Bryan Ashby 2015-10-04 22:04:56 -06:00
parent 3db16ed4a1
commit 60758e0f34
8 changed files with 8 additions and 1 deletions

View File

@ -34,6 +34,7 @@ exports.moduleInfo = {
TL1 - From
TL2 - To
TL3 - Subject
TL4 - Area name
TL5 - Date/Time (TODO: format)
TL6 - Message number
@ -62,6 +63,7 @@ var MCICodeIds = {
From : 1,
To : 2,
Subject : 3,
AreaName : 4,
DateTime : 5,
MsgNum : 6,
@ -169,6 +171,7 @@ function FullScreenEditorModule(options) {
from : vc.getView(1),
to : vc.getView(2),
subject : vc.getView(3),
areaName : vc.getView(4),
dateTime : vc.getView(5),
msgNum : vc.getView(7),
@ -514,6 +517,9 @@ function FullScreenEditorModule(options) {
}
],
function complete(err) {
if(err) {
console.error(err)
}
cb(err);
}
);
@ -575,6 +581,7 @@ function FullScreenEditorModule(options) {
setHeaderText(MCICodeIds.ViewModeHeader.From, self.message.fromUserName);
setHeaderText(MCICodeIds.ViewModeHeader.To, self.message.toUserName);
setHeaderText(MCICodeIds.ViewModeHeader.Subject, self.message.subject);
setHeaderText(MCICodeIds.ViewModeHeader.AreaName, self.messageAreaName);
setHeaderText(MCICodeIds.ViewModeHeader.DateTime, moment(self.message.modTimestamp).format(self.client.currentTheme.helpers.getDateTimeFormat()));
setHeaderText(MCICodeIds.ViewModeHeader.MsgNum, (self.messageIndex + 1).toString());
setHeaderText(MCICodeIds.ViewModeHeader.MsgTotal, self.messageTotal.toString());

View File

@ -662,7 +662,7 @@
"*" : [
{
value: { 1: 0 }
action: @method:prevMessage"
action: @method:prevMessage
}
{
value: { 1: 1 }

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.