improve help text for git gc task

This commit is contained in:
Sebastian Sdorra
2016-05-31 10:05:17 +02:00
parent 0ef064c1fb
commit b970c47d32

View File

@@ -41,7 +41,18 @@ Sonia.git.ConfigPanel = Ext.extend(Sonia.config.SimpleConfigForm, {
// helpTexts
repositoryDirectoryHelpText: 'Location of the Git repositories.',
gcExpressionHelpText: 'Quartz Cron Expression to run git gc in intervals.',
// TODO i18n
gcExpressionHelpText: '<p>Use Quartz Cron Expressions (SECOND MINUTE HOUR DAYOFMONTH MONTH DAYOFWEEK) to run git gc in intervals.</p>\n\
<table>\n\
<tr><th><b>SECOND</b></th><td>Seconds within the minute (059)</td></tr>\n\
<tr><th><b>MINUTE</b></th><td>Minutes within the hour (059)</td></tr>\n\
<tr><th><b>HOUR</b></th><td>The hour of the day (023)</td></tr>\n\
<tr><th><b>DAYOFMONTH</b></th><td>The day of the month (131)</td></tr>\n\
<tr><th><b>MONTH</b></th><td>The month (112)</td></tr>\n\
<tr><th><b>DAYOFWEEK</b></th><td>The day of the week (MON, TUE, WED, THU, FRI, SAT, SUN)</td></tr>\n\
</table>\n\
<p>E.g.: To run the task on every sunday at two o\'clock in the morning: 0 0 2 ? * SUN</p>\n\
<p>For more informations please have a look at <a href="http://www.quartz-scheduler.org/documentation/quartz-2.2.x/tutorials/crontrigger.html">Quartz CronTrigger</a></p>',
disabledHelpText: 'Enable or disable the Git plugin.\n\
Note you have to reload the page, after changing this value.',