]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/baculum/protected/Web/Portlets/DirectiveTimePeriod.tpl
baculum: Add required config fields asterisk mark
[bacula/bacula] / gui / baculum / protected / Web / Portlets / DirectiveTimePeriod.tpl
index 0cc76c1a2d70bb9ca8deb16d389e0868ed60e43e..df9fab675e1b5444d3c37b762cb54564548f01b4 100644 (file)
@@ -13,7 +13,7 @@
                        DataValueField="format"
                        Visible="<%=$this->display_directive%>"
                        ActiveControl.EnableUpdate="false"
-               />
+               /> <%=$this->getRequired() ? '*' : ''%>
                <img src="<%=$this->getPage()->getTheme()->getBaseUrl()%>/switch.png" class="reset_btn" onclick="var ftime = Units.format_time_period(parseInt('<%=$this->getDefaultValue()%>', 10), 'second'); document.getElementById('<%=$this->Directive->ClientID%>').value = ftime.value; document.getElementById('<%=$this->TimeFormat->ClientID%>').value = ftime.format;" alt="<%[ Reset to default value ]%>" title="<%[ Reset to default value ]%>" />
                <img src="<%=$this->getPage()->getTheme()->getBaseUrl()%>/icon_err.png" class="remove_btn" onclick="document.getElementById('<%=$this->Directive->ClientID%>').value = '';" alt="<%[ Remove directive ]%>" title="<%[ Remove directive ]%>" />
                <com:TRequiredFieldValidator