From fa4953681d1376974627db45f1f0b3a244ded042 Mon Sep 17 00:00:00 2001 From: Marcin Haba Date: Sun, 14 Nov 2021 11:27:01 +0100 Subject: [PATCH] baculum: Tweak fileset and runscript headers --- gui/baculum/protected/Web/Portlets/DirectiveFileSet.tpl | 3 +-- gui/baculum/protected/Web/Portlets/DirectiveRunscript.tpl | 1 - gui/baculum/protected/Web/Portlets/JobRunscriptRenderer.php | 2 +- gui/baculum/protected/Web/Portlets/NewRunscriptMenu.tpl | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/gui/baculum/protected/Web/Portlets/DirectiveFileSet.tpl b/gui/baculum/protected/Web/Portlets/DirectiveFileSet.tpl index 3756c9d81..b1c696313 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveFileSet.tpl +++ b/gui/baculum/protected/Web/Portlets/DirectiveFileSet.tpl @@ -3,7 +3,7 @@
-

<%#$this->SourceTemplateControl->getDirectiveName()%> #<%#$this->ItemIndex + 1%>

+

<%#$this->SourceTemplateControl->getDirectiveName()%> #<%#$this->ItemIndex + 1%>

-

<%[ Options ]%>

diff --git a/gui/baculum/protected/Web/Portlets/DirectiveRunscript.tpl b/gui/baculum/protected/Web/Portlets/DirectiveRunscript.tpl index 845699108..b0d4e64b5 100644 --- a/gui/baculum/protected/Web/Portlets/DirectiveRunscript.tpl +++ b/gui/baculum/protected/Web/Portlets/DirectiveRunscript.tpl @@ -3,7 +3,6 @@
-

Runscript

diff --git a/gui/baculum/protected/Web/Portlets/JobRunscriptRenderer.php b/gui/baculum/protected/Web/Portlets/JobRunscriptRenderer.php index 79df1be77..d9716035d 100644 --- a/gui/baculum/protected/Web/Portlets/JobRunscriptRenderer.php +++ b/gui/baculum/protected/Web/Portlets/JobRunscriptRenderer.php @@ -56,7 +56,7 @@ class JobRunscriptRenderer extends DirectiveRenderer { public function render($writer) { if (self::$render_index % self::DIRECTIVE_COUNT === 0) { - $writer->write('

Runscript #' . ((self::$render_index / self::DIRECTIVE_COUNT) + 1) . '


'); + $writer->write('

Runscript #' . ((self::$render_index / self::DIRECTIVE_COUNT) + 1) . '

'); } self::$render_index++; diff --git a/gui/baculum/protected/Web/Portlets/NewRunscriptMenu.tpl b/gui/baculum/protected/Web/Portlets/NewRunscriptMenu.tpl index 3df83e5e5..35ca28053 100644 --- a/gui/baculum/protected/Web/Portlets/NewRunscriptMenu.tpl +++ b/gui/baculum/protected/Web/Portlets/NewRunscriptMenu.tpl @@ -4,7 +4,7 @@
  •  <%[ Add Runscript block ]%> -- 2.47.3