diff options
author | Simon Rettberg | 2017-02-08 13:38:04 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-02-08 13:38:04 +0100 |
commit | 3a09daee1ebaf014536e14e82ca0fd4c2c92a41f (patch) | |
tree | 5e2237b3cb98647e72109920f2ffde19f7ede52c /modules-available/statistics_reporting/templates | |
parent | [statistics_reporting] Update translations (diff) | |
download | slx-admin-3a09daee1ebaf014536e14e82ca0fd4c2c92a41f.tar.gz slx-admin-3a09daee1ebaf014536e14e82ca0fd4c2c92a41f.tar.xz slx-admin-3a09daee1ebaf014536e14e82ca0fd4c2c92a41f.zip |
[statistics_reporting] Consistent field naming across classes, templates etc.
Diffstat (limited to 'modules-available/statistics_reporting/templates')
3 files changed, 12 insertions, 12 deletions
diff --git a/modules-available/statistics_reporting/templates/table-client.html b/modules-available/statistics_reporting/templates/table-client.html index 2fb2f574..be504cef 100644 --- a/modules-available/statistics_reporting/templates/table-client.html +++ b/modules-available/statistics_reporting/templates/table-client.html @@ -17,11 +17,11 @@ <tr> <td class="text-left">{{hostname}}</td> <td class="text-left col_location"><a class="locationLink" href="#" data-lid="{{locationId}}">{{location}}</a></td> - <td data-sort-value="{{time}}" class="text-left col_totalTime">{{time_s}}</td> - <td data-sort-value="{{medianTime}}" class="text-left col_medianSessionLength">{{medianTime_s}}</td> - <td class="text-left col_longSessions">{{sessions}}</td> + <td data-sort-value="{{totalTime}}" class="text-left col_totalTime">{{totalTime_s}}</td> + <td data-sort-value="{{medianSessionLength}}" class="text-left col_medianSessionLength">{{medianSessionLength_s}}</td> + <td class="text-left col_longSessions">{{longSessions}}</td> <td class="text-left col_shortSessions">{{shortSessions}}</td> - <td data-sort-value="{{offTime}}" class="text-left col_totalOffTime">{{offTime_s}}</td> + <td data-sort-value="{{totalOffTime}}" class="text-left col_totalOffTime">{{totalOffTime_s}}</td> <td data-sort-value="{{lastLogout}}" class="text-left col_lastLogout">{{lastLogout_s}}</td> <td data-sort-value="{{lastStart}}" class="text-left col_lastStart">{{lastStart_s}}</td> </tr> diff --git a/modules-available/statistics_reporting/templates/table-location.html b/modules-available/statistics_reporting/templates/table-location.html index 9479b7af..ccac623d 100644 --- a/modules-available/statistics_reporting/templates/table-location.html +++ b/modules-available/statistics_reporting/templates/table-location.html @@ -13,11 +13,11 @@ {{#data}} <tr{{#highlight}} class="info"{{/highlight}}> <td class="locationName text-left">{{location}}</td> - <td data-sort-value="{{time}}" class="text-left col_totalTime">{{time_s}}</td> - <td data-sort-value="{{medianTime}}" class="text-left col_medianSessionLength">{{medianTime_s}}</td> - <td class="text-left col_longSessions">{{sessions}}</td> + <td data-sort-value="{{totalTime}}" class="text-left col_totalTime">{{totalTime_s}}</td> + <td data-sort-value="{{medianSessionLength}}" class="text-left col_medianSessionLength">{{medianSessionLength_s}}</td> + <td class="text-left col_longSessions">{{longSessions}}</td> <td class="text-left col_shortSessions">{{shortSessions}}</td> - <td data-sort-value="{{offTime}}" class="text-left col_totalOffTime">{{offTime_s}}</td> + <td data-sort-value="{{totalOffTime}}" class="text-left col_totalOffTime">{{totalOffTime_s}}</td> </tr> {{/data}} </tbody> diff --git a/modules-available/statistics_reporting/templates/table-total.html b/modules-available/statistics_reporting/templates/table-total.html index e59dda25..4048a178 100644 --- a/modules-available/statistics_reporting/templates/table-total.html +++ b/modules-available/statistics_reporting/templates/table-total.html @@ -12,11 +12,11 @@ <tbody> <tr> <th class="text-left">{{lang_total}}</th> - <td class="text-left col_totalTime">{{data.time_s}}</td> - <td class="text-left col_medianSessionLength">{{data.medianTime_s}}</td> - <td class="text-left col_longSessions">{{data.sessions}}</td> + <td class="text-left col_totalTime">{{data.totalTime_s}}</td> + <td class="text-left col_medianSessionLength">{{data.medianSessionLength_s}}</td> + <td class="text-left col_longSessions">{{data.longSessions}}</td> <td class="text-left col_shortSessions">{{data.shortSessions}}</td> - <td class="text-left col_totalOffTime">{{data.totalOfftime_s}}</td> + <td class="text-left col_totalOffTime">{{data.totalOffTime_s}}</td> </tr> </tbody> </table> |