Added link to the column software in services table.

This commit is contained in:
Christian P. MOMON 2020-10-08 18:55:54 +02:00
parent cb6cc3eccc
commit d9524597b4
2 changed files with 7 additions and 2 deletions

View file

@ -71,7 +71,10 @@ public class ServiceListView
data.setEscapedContent("serviceListLine", index, "serviceListLineUrlLink", service.getWebsite()); data.setEscapedContent("serviceListLine", index, "serviceListLineUrlLink", service.getWebsite());
data.setEscapedContent("serviceListLine", index, "serviceListLineWebsiteLink", service.getWebsite()); data.setEscapedContent("serviceListLine", index, "serviceListLineWebsiteLink", service.getWebsite());
data.setAttribute("serviceListLine", index, "serviceListLineWebsiteLink", "href", service.getWebsite()); data.setAttribute("serviceListLine", index, "serviceListLineWebsiteLink", "href", service.getWebsite());
data.setEscapedContent("serviceListLine", index, "serviceListLineSoftware", service.getSoftwareName());
data.setEscapedContent("serviceListLine", index, "serviceListLineSoftwareLink", service.getSoftwareName());
data.setAttribute("serviceListLine", index, "serviceListLineSoftwareLink", "href", "software-" + service.getSoftwareTechnicalName() + ".xhtml");
data.setEscapedContent("serviceListLine", index, "serviceListLineDate", service.getCrawledDate().toString()); data.setEscapedContent("serviceListLine", index, "serviceListLineDate", service.getCrawledDate().toString());
data.setAttribute("serviceListLine", index, "serviceStatusImg", "src", "status-" + service.getStatus().toString().toLowerCase() + ".png"); data.setAttribute("serviceListLine", index, "serviceStatusImg", "src", "status-" + service.getStatus().toString().toLowerCase() + ".png");

View file

@ -42,7 +42,9 @@
</a> </a>
</td> </td>
<td id="serviceListLineWebsite"><a href="#" id="serviceListLineWebsiteLink">n/a</a></td> <td id="serviceListLineWebsite"><a href="#" id="serviceListLineWebsiteLink">n/a</a></td>
<td id="serviceListLineSoftware">n/a</td> <td id="serviceListLineSoftware">
<a href="#" id="serviceListLineSoftwareLink" title="">n/a</a>
</td>
<td id="serviceListLineUserCount" class="td_number">n/a</td> <td id="serviceListLineUserCount" class="td_number">n/a</td>
<td id="" class="td_icon_alone"> <td id="" class="td_icon_alone">