From: Marcin Haba Date: Sun, 14 Nov 2021 10:27:01 +0000 (+0100) Subject: baculum: Tweak fileset and runscript headers X-Git-Tag: Release-11.3.2~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca3ba194eafaaf2c16ea574709b17ef344758bb8;p=thirdparty%2Fbacula.git baculum: Tweak fileset and runscript headers --- 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 ]%>