parent
11457b2792
commit
71c761187f
@ -1,19 +1,9 @@
|
|||||||
<script>
|
<script>
|
||||||
import { _, json } from "svelte-i18n";
|
import { _ } from "svelte-i18n";
|
||||||
import Toastify from "toastify-js";
|
import { UserService } from "@odit/lfk-client-js";
|
||||||
import TracksEmptyState from "./TracksEmptyState.svelte";
|
|
||||||
import { TrackService, UserService } from "@odit/lfk-client-js";
|
|
||||||
import { getlang } from "./datatable_i18n";
|
|
||||||
import { Grid, html } from "gridjs";
|
|
||||||
import "gridjs/dist/theme/mermaid.css";
|
import "gridjs/dist/theme/mermaid.css";
|
||||||
import { tracks as tracksstore } from "../store.js";
|
import { tracks as tracksstore } from "../store.js";
|
||||||
import UsersEmptyState from "./UsersEmptyState.svelte";
|
|
||||||
import PromiseError from "./PromiseError.svelte";
|
import PromiseError from "./PromiseError.svelte";
|
||||||
$: userscache = [];
|
|
||||||
$: blocked = [];
|
|
||||||
let table;
|
|
||||||
let datatable;
|
|
||||||
let datatable_inited = false;
|
|
||||||
export let params;
|
export let params;
|
||||||
const user_promise = UserService.userControllerGetOne(params.userid);
|
const user_promise = UserService.userControllerGetOne(params.userid);
|
||||||
tracksstore.subscribe((val) => {
|
tracksstore.subscribe((val) => {
|
||||||
@ -82,7 +72,7 @@
|
|||||||
<!-- -->
|
<!-- -->
|
||||||
<div class="mt-2 flex items-center">
|
<div class="mt-2 flex items-center">
|
||||||
<img
|
<img
|
||||||
alt="Profile Picture"
|
alt={$_('profile-picture')}
|
||||||
class="inline-block h-20 w-20 rounded-full overflow-hidden bg-gray-100"
|
class="inline-block h-20 w-20 rounded-full overflow-hidden bg-gray-100"
|
||||||
src={user.profilePic} />
|
src={user.profilePic} />
|
||||||
<!-- <span
|
<!-- <span
|
||||||
|
@ -113,7 +113,7 @@
|
|||||||
<a
|
<a
|
||||||
href="./{u.id}"
|
href="./{u.id}"
|
||||||
class="text-indigo-600 hover:text-indigo-900">Edit</a>
|
class="text-indigo-600 hover:text-indigo-900">Edit</a>
|
||||||
<a href="#" class="ml-4 text-red-600 hover:text-red-900">Delete</a>
|
<span tabindex="0" href="#" class="ml-4 text-red-600 hover:text-red-900 cursor-pointer">Delete</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{/each}
|
{/each}
|
||||||
|
@ -58,6 +58,7 @@
|
|||||||
"oss_credit_description": "We use a lot of open source software on these projects, and would like to thank the following projects and contributors who help make open source great!",
|
"oss_credit_description": "We use a lot of open source software on these projects, and would like to thank the following projects and contributors who help make open source great!",
|
||||||
"password": "Password",
|
"password": "Password",
|
||||||
"please-provide-the-required-information-to-add-a-new-track": "Please provide the required information to add a new track.",
|
"please-provide-the-required-information-to-add-a-new-track": "Please provide the required information to add a new track.",
|
||||||
|
"profile-picture": "Profile Picture",
|
||||||
"read-license": "Read License",
|
"read-license": "Read License",
|
||||||
"register": "Register",
|
"register": "Register",
|
||||||
"repo_link": "Link",
|
"repo_link": "Link",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user