Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/#146-When-opening-the-gateway-overview-page,-there-is-an-Exception-evaluating-SpringEL-expression #147

Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spring-boot/admin/src/main/resources/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ admin.dashboard.gatewayhealthmonitor.state.warning_critical=Problem(s) to be che
admin.dashboard.gatewayhealthmonitor.state.notconnected=One or more gateway(s) in unknown status.
admin.dashboard.gatewayhealthmonitor.state.ok=No problems found.
admin.dashboard.gatewayhealthmonitor.notification.switch=Monitoring
admin.dashboard.gatewayhealthmonitor.notconnectedgateway.text=No sign of interaction
admin.dashboard.gatewayhealthmonitor.notconnectedgateway.text=No sign of activity

# API keys management
admin.api-keys.page.title=API Keys
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ <h2 th:text="#{admin.proxies.list.title}">[Proxies Administration]</h2>
<td class="text-center "><a th:href="|@{/admin/proxies/}${proxy.id}|"
class="fa fa-bar-chart"/>
</td>
<td th:text="${proxy.timeOfLastSuccessfulCallToAdmin != null ? #dates.format(new java.util.Date(proxy?.timeOfLastSuccessfulCallToAdmin)) : #{admin.dashboard.gatewayhealthmonitor.notconnectedgateway}}"></td>
<td th:text="${proxy.timeOfLastSuccessfulCallToAdmin != null ? #dates.format(new java.util.Date(proxy?.timeOfLastSuccessfulCallToAdmin)) : #messages.msg('admin.dashboard.gatewayhealthmonitor.notconnectedgateway.text')}"></td>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This lines is not readable, too many instruction in one line which make difficult to read

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reminder: Use newlines

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added newlines to improve readability, please check it @perezdf

<td class="right">
<button th:onclick="|@{location.href='/admin/proxies/}${proxy.id}@{/formUpdate'}|">
<i class="fa fa-pencil-square-o"/></button>
Expand Down