Commit b1de42894b6027d7e83e820a23bc5be5b00030e2

Authored by Jarrett Jordaan
1 parent afb1d189

Story Id:1627025 Updated services templating

Committed by: Jarrett Jordaan

Reviewed by: Prince Mbekwa
setup/wizard/templates/complete.tpl
@@ -16,10 +16,22 @@ @@ -16,10 +16,22 @@
16 16
17 <?php if(!$servicesValidation) { ?> 17 <?php if(!$servicesValidation) { ?>
18 <h3>Services</h3> 18 <h3>Services</h3>
19 - Run the dmsctl.sh script in KnowledgeTree source root from a terminal.<br/>  
20 - <i>cd KnowledgeTree_Installation_Folder<br/>  
21 - ./dmsctl.sh start  
22 - </i> 19 + The KnowledgeTree services need to be started to allow for optimal functioning of the search, indexing and pdf generation.
  20 + <?php if(WINDOWS_OS) { ?>
  21 + To start the services, execute the dmsctl.sh shell script in the KnowledgeTree directory from a terminal.<br/><br/>
  22 + <?php } else { ?>
  23 + To start the services, execute the dmsctl.bat batch file in the KnowledgeTree directory from a command prompt, run as administrator.<br/><br/>
  24 + <?php } ?>
  25 + <p class="disclaimer">
  26 + <?php if(WINDOWS_OS) { ?>
  27 + cd KnowledgeTree_Installation_Folder<br/>
  28 + dmsctl.bat start
  29 + <?php } else { ?>
  30 + cd /usr/share/knowledgetree-ce<br/>
  31 + sudo ./dmsctl.sh start
  32 + <?php } ?>
  33 + </p>
  34 +
23 <br/> 35 <br/>
24 <?php } ?> 36 <?php } ?>
25 <!-- Paths and Permissions --> 37 <!-- Paths and Permissions -->
setup/wizard/templates/services.tpl
@@ -41,7 +41,7 @@ @@ -41,7 +41,7 @@
41 <!--Content--> 41 <!--Content-->
42 <div id="step_content_configuration" class="step"> 42 <div id="step_content_configuration" class="step">
43 <?php if(!$alreadyInstalled) { ?> 43 <?php if(!$alreadyInstalled) { ?>
44 - <?php if($validation) { ?> 44 + <?php if($servicesValidation) { ?>
45 <?php if($javaExeError) { ?> 45 <?php if($javaExeError) { ?>
46 Specify the location of your Java executable 46 Specify the location of your Java executable
47 &nbsp;&nbsp;&nbsp; 47 &nbsp;&nbsp;&nbsp;
@@ -171,7 +171,7 @@ @@ -171,7 +171,7 @@
171 All services are already installed. 171 All services are already installed.
172 <!-- </p>--> 172 <!-- </p>-->
173 <?php } ?> 173 <?php } ?>
174 - <?php if($validation) { ?> 174 + <?php if($servicesValidation) { ?>
175 <h3><?php echo "<span class='{$serviceCheck}'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>"; ?>Services Check</h3> 175 <h3><?php echo "<span class='{$serviceCheck}'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>"; ?>Services Check</h3>
176 <?php if($silent) { ?> 176 <?php if($silent) { ?>
177 <?php if($serviceCheck != 'tick') { 177 <?php if($serviceCheck != 'tick') {