From: Tim Düsterhus Date: Wed, 19 Aug 2020 14:55:17 +0000 (+0200) Subject: Use dedicated column for loginUsername in packageUpdateServerList X-Git-Tag: 5.3.0_Alpha_1~22^2~6 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5ca2ff6c05e45790a0df744717924fccc6d68314;p=GitHub%2FWoltLab%2FWCF.git Use dedicated column for loginUsername in packageUpdateServerList --- diff --git a/wcfsetup/install/files/acp/templates/packageUpdateServerList.tpl b/wcfsetup/install/files/acp/templates/packageUpdateServerList.tpl index 4684b62a1f..171936425e 100644 --- a/wcfsetup/install/files/acp/templates/packageUpdateServerList.tpl +++ b/wcfsetup/install/files/acp/templates/packageUpdateServerList.tpl @@ -34,6 +34,7 @@ {lang}wcf.global.objectID{/lang} {lang}wcf.acp.updateServer.serverURL{/lang} + {lang}wcf.acp.updateServer.loginUsername{/lang} {lang}wcf.acp.updateServer.packages{/lang} {lang}wcf.acp.updateServer.status{/lang} {lang}wcf.acp.updateServer.errorMessage{/lang} @@ -54,10 +55,8 @@ {event name='itemButtons'} {@$updateServer->packageUpdateServerID} - - {$updateServer->serverURL} - {if $updateServer->loginUsername}({$updateServer->loginUsername}){/if} - + {$updateServer->serverURL} + {$updateServer->loginUsername} {#$updateServer->packages} {@$updateServer->status} {@$updateServer->errorMessage|truncate:"30"} diff --git a/wcfsetup/install/files/lib/acp/page/PackageUpdateServerListPage.class.php b/wcfsetup/install/files/lib/acp/page/PackageUpdateServerListPage.class.php index 9b1b9a75aa..4c8ff59619 100755 --- a/wcfsetup/install/files/lib/acp/page/PackageUpdateServerListPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/PackageUpdateServerListPage.class.php @@ -32,7 +32,7 @@ class PackageUpdateServerListPage extends SortablePage { /** * @inheritDoc */ - public $validSortFields = ['packageUpdateServerID', 'serverURL', 'status', 'errorMessage', 'lastUpdateTime', 'packages']; + public $validSortFields = ['packageUpdateServerID', 'serverURL', 'loginUsername', 'status', 'errorMessage', 'lastUpdateTime', 'packages']; /** * @inheritDoc