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:
		| @@ -38,7 +38,7 @@ async function main() { | ||||
| 	</style> | ||||
| </head> | ||||
| <body style="background: #888"> | ||||
| <h1>Apps</h1> | ||||
| <h1 id="apps_title">Apps</h1> | ||||
| <div id="apps" class="container"></div> | ||||
| <h1>Core Apps</h1> | ||||
| <div id="core_apps" class="container"></div> | ||||
| @@ -66,6 +66,7 @@ async function main() { | ||||
| 			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('core_apps', 'core', ${JSON.stringify(core_apps)}); | ||||
| </script> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user