Skip to content

Instantly share code, notes, and snippets.

Last active Aug 13, 2021
What would you like to do?
NodeX code sample: Render staff users list in front-end
<table class="table table-borderless table-hover mb-0">
<th style="min-width: 8em;">Name</th>
<th>Last signin</th>
v-for="item in items"
<td nowrap="nowrap">
<router-link :to="'staff?id=' +"><span v-html="item.firstName ? item.firstName + ' ' + item.lastName: '(empty)'"></span></router-link>
v-bind:href="'mailto:' +"
>{{ }}</a>
<!--<td>{{ item.role }}</td>-->
<td>{{ item.permissions.join(', ') }}</td>
<td>{{ item.last_signed_in_at ? day(item.last_signed_in_at).format(uti.DATE_DISPLAY) : 'N/A' }}</td>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment