From c8107c6a87763a5093d51bb2c4e969186d39e5ac Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Tue, 16 Aug 2016 10:20:40 -0400 Subject: [PATCH] Make everything plural In the recent change to split the uncategorized page we were inconsistent in our use of other and others for the second page. To make everything consistent and actually work this commit updates the last references of other and other.html to others and others.html. Change-Id: If6a4331f5cb7d0a362a89c87fdeebf4891f603b9 --- elastic_recheck/cmd/uncategorized_fails.py | 6 +++--- web/share/templates/integrated_gate.html | 2 +- web/share/templates/others.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/elastic_recheck/cmd/uncategorized_fails.py b/elastic_recheck/cmd/uncategorized_fails.py index ca952f2b..81f3c763 100755 --- a/elastic_recheck/cmd/uncategorized_fails.py +++ b/elastic_recheck/cmd/uncategorized_fails.py @@ -61,7 +61,7 @@ def get_options(): parser.add_argument('-o', '--output', help="The path for the directory to store the " "html output. 2 files will be created: " - "integrated_gate.html and other.html. " + "integrated_gate.html and others.html. " "If this option is not specified these files " "will be written to the cwd.") parser.add_argument('-c', '--conf', help="Elastic Recheck Configuration " @@ -80,7 +80,7 @@ def setup_template_engine(directory, group='integrated_gate'): env = jinja2.Environment(loader=loader) if group == 'integrated_gate': filename = 'integrated_gate.html' - elif group == 'other': + elif group == 'others': filename = 'others.html' else: raise TypeError('Unknown job name %s' % group) @@ -142,7 +142,7 @@ def all_fails(classifier): } all_fails = { 'integrated_gate': integrated_fails, - 'other': other_fails + 'others': other_fails } return all_fails diff --git a/web/share/templates/integrated_gate.html b/web/share/templates/integrated_gate.html index 70cb17c2..92c3434b 100644 --- a/web/share/templates/integrated_gate.html +++ b/web/share/templates/integrated_gate.html @@ -71,7 +71,7 @@
  • All Pipelines
  • Gate Pipeline
  • Integrated Gate Uncategorized
  • -
  • Other Projects Uncategorized
  • +
  • Other Projects Uncategorized
  • diff --git a/web/share/templates/others.html b/web/share/templates/others.html index 99883524..13855c86 100644 --- a/web/share/templates/others.html +++ b/web/share/templates/others.html @@ -71,7 +71,7 @@
  • All Pipelines
  • Gate Pipeline
  • Integrated Gate Uncategorized
  • -
  • Other Projects Uncategorized
  • +
  • Other Projects Uncategorized