Joris Tirado 12 years ago
parent
commit
ef64a5490e
5 changed files with 9 additions and 10 deletions
  1. +0
    -1
      i18n/en-US.json
  2. +0
    -1
      i18n/fr-FR.json
  3. +4
    -4
      submodules/callLogs/callLogs.css
  4. +3
    -2
      submodules/callLogs/callLogs.js
  5. +2
    -2
      views/callLogs-layout.html

+ 0
- 1
i18n/en-US.json View File

@ -577,7 +577,6 @@
"inboundCall": "Inbound", "inboundCall": "Inbound",
"outboundCall": "Outbound", "outboundCall": "Outbound",
"dateTime1": "Date/Time", "dateTime1": "Date/Time",
"dateTime2": "(PST)",
"from": "From", "from": "From",
"to": "To", "to": "To",
"duration1": "Duration", "duration1": "Duration",


+ 0
- 1
i18n/fr-FR.json View File

@ -579,7 +579,6 @@
"inboundCall": "Entrant", "inboundCall": "Entrant",
"outboundCall": "Sortant", "outboundCall": "Sortant",
"dateTime1": "Date/Heure", "dateTime1": "Date/Heure",
"dateTime2": "(PST)",
"from": "Depuis", "from": "Depuis",
"to": "À", "to": "À",
"duration1": "Durée", "duration1": "Durée",


+ 4
- 4
submodules/callLogs/callLogs.css View File

@ -114,10 +114,10 @@
border-left: solid 1px #e3e3e3; border-left: solid 1px #e3e3e3;
} }
#call_logs_container .grid-cell.direction { #call_logs_container .grid-cell.direction {
width: 5%;
width: 4%;
} }
#call_logs_container .grid-cell.datetime { #call_logs_container .grid-cell.datetime {
width: 10%;
width: 12%;
} }
#call_logs_container .grid-cell.from { #call_logs_container .grid-cell.from {
width: 20%; width: 20%;
@ -126,7 +126,7 @@
width: 20%; width: 20%;
} }
#call_logs_container .grid-cell.duration { #call_logs_container .grid-cell.duration {
width: 10%;
width: 9%;
} }
#call_logs_container .grid-cell.hangup { #call_logs_container .grid-cell.hangup {
width: 15%; width: 15%;
@ -215,4 +215,4 @@
} }
#call_logs_details_popup .details-table tbody tr:last-of-type td:last-of-type { #call_logs_details_popup .details-table tbody tr:last-of-type td:last-of-type {
border-bottom-right-radius: 4px; border-bottom-right-radius: 4px;
}
}

+ 3
- 2
submodules/callLogs/callLogs.js View File

@ -34,7 +34,9 @@ define(function(require){
callLogsRenderContent: function(parent, fromDate, toDate) { callLogsRenderContent: function(parent, fromDate, toDate) {
var self = this, var self = this,
dataTemplate = {},
dataTemplate = {
timezone: 'GMT' + jstz.determine_timezone().offset()
},
template; template;
if(!toDate) { if(!toDate) {
@ -51,7 +53,6 @@ define(function(require){
self.callLogsGetCdrs(fromDate, toDate, function(cdrs) { self.callLogsGetCdrs(fromDate, toDate, function(cdrs) {
cdrs = self.callLogsFormatCdrs(cdrs); cdrs = self.callLogsFormatCdrs(cdrs);
dataTemplate.cdrs = cdrs; dataTemplate.cdrs = cdrs;
template = $(monster.template(self, 'callLogs-layout', dataTemplate)); template = $(monster.template(self, 'callLogs-layout', dataTemplate));


+ 2
- 2
views/callLogs-layout.html View File

@ -36,7 +36,7 @@
</div> </div>
<div class="grid-cell datetime"> <div class="grid-cell datetime">
<div class="sub-cell cell-top">{{i18n.callLogs.gridHeaders.dateTime1}}</div> <div class="sub-cell cell-top">{{i18n.callLogs.gridHeaders.dateTime1}}</div>
<div class="sub-cell cell-bottom">{{i18n.callLogs.gridHeaders.dateTime2}}</div>
<div class="sub-cell cell-bottom">{{timezone}}</div>
</div> </div>
<div class="grid-cell from"> <div class="grid-cell from">
<div class="sub-cell single-cell">{{i18n.callLogs.gridHeaders.from}}</div> <div class="sub-cell single-cell">{{i18n.callLogs.gridHeaders.from}}</div>
@ -171,4 +171,4 @@
{{/each}} {{/each}}
</div> </div>
</div> </div>
</div>
</div>

Loading…
Cancel
Save