Skip to content
Snippets Groups Projects
Commit 56677fc9 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#431 - added visual banner if test mode is enabled

parent fcf1fca1
No related branches found
No related tags found
No related merge requests found
Pipeline #1445 failed
......@@ -26,4 +26,9 @@ public class ProgramArgs
{
return ProgramArgs.getArgs().contains("--debugFolder");
}
public static boolean isTest()
{
return RunMode.currentRunMode.equals(RunMode.TEST);
}
}
\ No newline at end of file
......@@ -34,6 +34,11 @@
<@itemUpdate "/update", locale.getString("menu.update"), "system_update"/>
</#if>
<#if programArgs.isTest()>
<@itemDivider/>
<@itemDebug "TEST MODE" "report_problem"/>
</#if>
<#if programArgs.isDebug()>
<@itemDivider/>
<@itemDebug "DEBUG MODE" "bug_report"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment