From 7d8bf1b0f2d72b7ce8cad2fdfc3710187634b7f7 Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <eelco.dolstra@logicblox.com>
Date: Wed, 16 Mar 2016 15:23:56 +0100
Subject: [PATCH] Shorten host names

---
 src/root/machine-status.tt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/root/machine-status.tt b/src/root/machine-status.tt
index 5f406ae1..e0476744 100644
--- a/src/root/machine-status.tt
+++ b/src/root/machine-status.tt
@@ -18,7 +18,7 @@
     <thead>
       <tr>
         <th colspan="6">
-          <tt [% IF m.value.disabled %]style="text-decoration: line-through;"[% END %]>[% name %]</tt>
+          <tt [% IF m.value.disabled %]style="text-decoration: line-through;"[% END %]>[% INCLUDE renderMachineName machine=m.key %]</tt>
           [% IF m.value.systemTypes %]
             <span class="muted" style="font-weight: normal;">
               ([% comma=0; FOREACH system IN m.value.systemTypes %][% IF comma; %], [% ELSE; comma = 1; END %]<tt>[% system %]</tt>[% END %])