Make /configclients plugin links consistent with other details

This commit is contained in:
str4d
2016-04-18 04:29:57 +00:00
parent ac6cd7e4c6
commit aa95750e1f

View File

@ -290,15 +290,17 @@ public class ConfigClientsHelper extends HelperBase {
} }
s = stripHTML(appProps, "websiteURL"); s = stripHTML(appProps, "websiteURL");
if (s != null) { if (s != null) {
desc.append("<tr><td>") desc.append("<tr><td><b>")
.append("<a href=\"").append(s).append("\">").append(_t("Website")).append("</a><td>&nbsp;"); .append(_t("Website")).append("</b></td><td><a href=\"")
.append(s).append("\">").append(s).append("</a>");
} }
String updateURL = stripHTML(appProps, "updateURL.su3"); String updateURL = stripHTML(appProps, "updateURL.su3");
if (updateURL == null) if (updateURL == null)
updateURL = stripHTML(appProps, "updateURL"); updateURL = stripHTML(appProps, "updateURL");
if (updateURL != null) { if (updateURL != null) {
desc.append("<tr><td>") desc.append("<tr><td><b>")
.append("<a href=\"").append(updateURL).append("\">").append(_t("Update link")).append("</a><td>&nbsp;"); .append(_t("Update link")).append("</b></td><td><a href=\"")
.append(updateURL).append("\">").append(updateURL).append("</a>");
} }
desc.append("</table>"); desc.append("</table>");
boolean isRunning = PluginStarter.isPluginRunning(app, _context); boolean isRunning = PluginStarter.isPluginRunning(app, _context);