diff --git a/src/instances/views/index.ecr b/src/instances/views/index.ecr index c838a04..bdf7c41 100644 --- a/src/instances/views/index.ecr +++ b/src/instances/views/index.ecr @@ -51,7 +51,7 @@

- Instances sourced from here. + Add your instance here. JSON

@@ -74,7 +74,7 @@ <% instances.each_with_index do |tuple, index| %> <% name, instance = tuple %> class="pure-table-odd" <% end %>> - <%= name %> + <%= name.size > 24 ? "#{name[0, 12]}...#{name[-9, 9]}" : name %> <%= instance[:stats]?.try &.["software"]?.try &.["version"] || "-" %> <%= instance[:type] %> <%= instance[:stats]?.try &.["usage"]?.try &.["users"]["total"] || "-" %>