some bugfixes for route management
This commit is contained in:
parent
a5d91394e0
commit
18c33a823e
3 changed files with 34 additions and 5 deletions
|
@ -30,7 +30,7 @@
|
|||
</tr>
|
||||
{% for msg in mesh_messages %}
|
||||
<tr>
|
||||
<td>{{ msg.datetime }}</td>
|
||||
<td>{{ msg.datetime.date }} {{ msg.datetime.time|date:"H:i:s" }}</td>
|
||||
<td><a href="{% url "control.mesh_node.detail" pk=msg.src_node.address %}">{{ msg.src_node }}</a></td>
|
||||
<td>{{ msg.get_message_type_display }}</td>
|
||||
<td>
|
||||
|
|
|
@ -11,6 +11,23 @@
|
|||
<strong>Address:</strong> {{ node.address }}<br>
|
||||
<strong>Name:</strong> {% if node.name %}{{ node.name }}{% else %}<em>{% trans '(no name)' %}</em>{% endif %}
|
||||
</p>
|
||||
<p>
|
||||
<strong>Uplink:</strong> <a href="{% url "control.mesh_node.detail" pk=node.uplink.address %}">{{ node.uplink }}</a><br>
|
||||
|
||||
<strong>Last signin:</strong>
|
||||
{{ node.last_signin.date }} {{ node.last_signin.time|date:"H:i:s" }}
|
||||
({% blocktrans trimmed with timesince=node.last_signin|timesince %}
|
||||
{{ timesince }} ago
|
||||
{% endblocktrans %})
|
||||
<br>
|
||||
|
||||
<strong>Last Message:</strong>
|
||||
{{ node.last_msg.date }} {{ node.last_msg.time|date:"H:i:s" }}
|
||||
({% blocktrans trimmed with timesince=node.last_msg|timesince %}
|
||||
{{ timesince }} ago
|
||||
{% endblocktrans %})
|
||||
<br>
|
||||
</p>
|
||||
<p>
|
||||
<a class="button" href="{% url "control.mesh_node.edit" pk=node.pk %}">
|
||||
{% trans 'Edit' %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue