Merge pull request #399 from akuker/rdmark_netatalk_connections

More user friendly netatalk connection status messages
This commit is contained in:
Eric Helgeson 2021-10-28 11:54:48 -05:00 committed by GitHub
commit 9731e9d3bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -326,7 +326,13 @@
</td>
</tr>
</table>
<p><small>{{netatalk_configured}} active connections (including the server)</small></p>
{% if netatalk_configured == 1 %}
<p><small>The AppleShare server is running. No active connections</small></p>
{% elif netatalk_configured == 2 %}
<p><small>{{netatalk_configured - 1}} active AFP connection</small></p>
{% elif netatalk_configured > 2 %}
<p><small>{{netatalk_configured - 1}} active AFP connections</small></p>
{% endif %}
{% else %}
<p>Install <a href="https://github.com/akuker/RASCSI/wiki/AFP-File-Sharing">Netatalk</a> to use the AppleTalk File Server.
{% endif %}