$this->viewData->countries = $this->_processCountries();
$this->viewData->multimedia = $this->_processMultimedia();
$this->viewData->shareDetails = $this->_processShareDetails();
- $this->viewData->users = $this->_processUsers();
+ $this->viewData->setRaw('users', $this->_processUsers());
//=== MAIN PERIOD STATISTICS
// These are the main statistics used to build the chart and the table below it.
</table>
</div>
@endif
-
-
</div>
@if($users)
<tbody>
@foreach($users as $userId => $user)
<tr>
- <td class="whitespace-nowrap" data-sort-value="{{ $user['userid'] }}">
- {{ $user['userid'] }}
+ <td class="whitespace-nowrap" data-sort-value="{{ $userId }}">
+ {{ $userId }}
</td>
<td>{{ $formatter->format($user['nb_visits']) }}</td>
<td class="user-pages" data-excel-content="{{implode(', ',$user['pages'])}}">
</tbody>
</table>
</div>
-
@endif
{{-- It's possible for there to be no statistics returned by the API --}}
@else