Skip to content

Commit

Permalink
[Release] Release 1.28.10
Browse files Browse the repository at this point in the history
Update admin form view with nick.
  • Loading branch information
ryanlee2014 committed Sep 20, 2020
1 parent f3dc7d2 commit ce00c73
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
4 changes: 4 additions & 0 deletions src/views/admin/account/ban.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<thead>
<tr>
<th>{{$t("user_id")}}</th>
<th>{{$t("nick")}}</th>
<th>{{$t("ban end time")}}</th>
<th>{{$t("edit")}}</th>
<th>{{$t("remove")}}</th>
Expand All @@ -42,6 +43,9 @@
<td>
<router-link :to="`/user/${row.user_id}`">{{row.user_id}}</router-link>
</td>
<td>
<router-link :to="`/user/${row.user_id}/`">{{row.nick}}</router-link>
</td>
<td>
{{dayjs(row.bantime).format("YYYY-MM-DD HH:mm:ss")}}
</td>
Expand Down
8 changes: 7 additions & 1 deletion src/views/admin/account/privilege.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,19 @@
<thead>
<tr>
<th>{{$t("user_id")}}</th>
<th>{{$t("nick")}}</th>
<th>{{$t("privilege")}}</th>
<th>{{$t("remove")}}</th>
</tr>
</thead>
<tbody>
<tr v-for="(row,key) in userList" :key="key">
<td>{{row.user_id}}</td>
<td>
<router-link :to="`/user/${row.user_id}`">{{row.user_id}}</router-link>
</td>
<td>
<router-link :to="`/user/${row.user_id}/`">{{row.nick}}</router-link>
</td>
<td>{{row.rightstr}}</td>
<td>
<a @click="removePrivilege(row.user_id, row.rightstr)" class="ui labeled icon black button">
Expand Down
6 changes: 3 additions & 3 deletions src/views/discuss.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@
<td>
<router-link :to="`/user/${row.user_id}`">{{row.user_id}}</router-link>
</td>
<td>{{dayjs(row.create_time).format("YYYY-MM-DD HH:mm:ss")}}</td>
<td>{{dayjs(row.edit_time).format("YYYY-MM-DD HH:mm:ss")}}</td>
<td>{{dayjs(row.last_post).format("YYYY-MM-DD HH:mm:ss")}}</td>
<td>{{dayjs(row.create_time).format("YY-MM-DD HH:mm")}}</td>
<td>{{dayjs(row.edit_time).format("YY-MM-DD HH:mm")}}</td>
<td>{{dayjs(row.last_post).format("YY-MM-DD HH:mm")}}</td>
</tr>
</tbody>
</table>
Expand Down

0 comments on commit ce00c73

Please sign in to comment.