Show loginUsername in packageUpdateServerList
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 19 Aug 2020 12:55:00 +0000 (14:55 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 19 Aug 2020 13:07:48 +0000 (15:07 +0200)
This allows the administrator to quickly see which update servers are missing
credentials.

wcfsetup/install/files/acp/templates/packageUpdateServerList.tpl

index dcd60c2baa2d17d7588b0b4a9687499a8fd7e0c2..a4027cdbcdd7b2998921878fab495f407641e6e8 100644 (file)
                                                        {event name='itemButtons'}
                                                </td>
                                                <td class="columnID columnPackageUpdateServerID">{@$updateServer->packageUpdateServerID}</td>
-                                               <td class="columnTitle columnServerURL"><a href="{link controller='PackageUpdateServerEdit' id=$updateServer->packageUpdateServerID}{/link}" title="{lang}wcf.acp.updateServer.edit{/lang}">{$updateServer->serverURL}</a></td>
+                                               <td class="columnTitle columnServerURL">
+                                                       <a href="{link controller='PackageUpdateServerEdit' id=$updateServer->packageUpdateServerID}{/link}" title="{lang}wcf.acp.updateServer.edit{/lang}">{$updateServer->serverURL}</a>
+                                                       {if $updateServer->loginUsername}({$updateServer->loginUsername}){/if}
+                                               </td>
                                                <td class="columnDigits columnPackages">{#$updateServer->packages}</td>
                                                <td class="columnStatus"><span class="badge{if $updateServer->status == 'online'} green{else} red{/if}">{@$updateServer->status}</span></td>
                                                <td class="columnText columnErrorText" title="{@$updateServer->errorMessage}">{@$updateServer->errorMessage|truncate:"30"}</td>