mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
Inform user when latest direct-entry heartbeat is
This commit is contained in:
@@ -47,6 +47,15 @@
|
||||
|
||||
<div>
|
||||
<h2>Config file</h2>
|
||||
|
||||
<p>
|
||||
<% if current_user.most_recent_direct_entry_heartbeat %>
|
||||
Your last heartbeat was <%= time_ago_in_words current_user.most_recent_direct_entry_heartbeat.created_at %> ago.
|
||||
<% else %>
|
||||
You haven't sent any heartbeats yet directly to this platform.
|
||||
<% end %>
|
||||
</p>
|
||||
|
||||
<%= render "wakatime_config_display" %>
|
||||
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user