Show the username in the apps list.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4243 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
ec65faa12d
commit
10ea885d8d
@ -38,7 +38,7 @@ async function main() {
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body style="background: #888">
|
<body style="background: #888">
|
||||||
<h1>Apps</h1>
|
<h1 id="apps_title">Apps</h1>
|
||||||
<div id="apps" class="container"></div>
|
<div id="apps" class="container"></div>
|
||||||
<h1>Core Apps</h1>
|
<h1>Core Apps</h1>
|
||||||
<div id="core_apps" class="container"></div>
|
<div id="core_apps" class="container"></div>
|
||||||
@ -66,6 +66,7 @@ async function main() {
|
|||||||
div.appendChild(a);
|
div.appendChild(a);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
document.getElementById('apps_title').innerText = "~${escape(core.user.credentials?.session?.name)}'s Apps";
|
||||||
populate_apps('apps', '${core.user.credentials?.session?.name}', ${JSON.stringify(apps)});
|
populate_apps('apps', '${core.user.credentials?.session?.name}', ${JSON.stringify(apps)});
|
||||||
populate_apps('core_apps', 'core', ${JSON.stringify(core_apps)});
|
populate_apps('core_apps', 'core', ${JSON.stringify(core_apps)});
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user