From 14eac038d2fa7ac4845135a827ca8c2f2bab559c Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Wed, 6 May 2020 22:45:42 +0100 Subject: Update terminology for hosts in internal APIs and web templates This is intended to replace all uses of "Trove" that should really be "Downstream Host" or "Upstream Host", except in the database schema and the REST API (which will probably change later). * ARCH: Update example code to reflect API name change * yarns.webapp: Update test descriptions and uses of internal APIs * units: Update and rename the ls-troves units (although they still use the ls-troves endpoint for now) Some references that really are specific to Trove integration are retained. Related to #3. --- templates/lorry.tpl | 2 +- templates/status.tpl | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'templates') diff --git a/templates/lorry.tpl b/templates/lorry.tpl index 7c475e0..22760d4 100644 --- a/templates/lorry.tpl +++ b/templates/lorry.tpl @@ -17,7 +17,7 @@ Interval {{lorry['interval_nice']}} ({{lorry['interval']}} s) Last run {{lorry['last_run_nice']}} Due {{lorry['due_nice']}} - From Trove {{lorry['from_trovehost']}} + From Host {{lorry['from_host']}} Disk usage {{lorry['disk_usage_nice']}} Job? diff --git a/templates/status.tpl b/templates/status.tpl index 46fe034..277b4b8 100644 --- a/templates/status.tpl +++ b/templates/status.tpl @@ -48,17 +48,17 @@

Free disk space: {{disk_free_gib}} GiB.

-

Remote Troves

+

Upstream Hosts

- + -% for trove_info in troves: +% for host_info in hosts: - - + + % end
Trove hostHost Due for re-scan of remote repositories
{{trove_info['trovehost']}}{{trove_info['ls_due_nice']}}{{host_info['host']}}{{host_info['ls_due_nice']}}
-- cgit v1.2.1