]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/baculum/protected/Web/Portlets/DirectiveText.tpl
baculum: Add required config fields asterisk mark
[bacula/bacula] / gui / baculum / protected / Web / Portlets / DirectiveText.tpl
index 5eba0c1bf7e67f45f556de2f6b183795d314ad5e..7e93923e04b5507f1c954c82718c392cbd5452df 100644 (file)
@@ -7,7 +7,7 @@
                        Visible="<%=$this->display_directive%>"
                        ActiveControl.EnableUpdate="false"
                        AutoTrim="true"
-               />
+               /> <%=$this->getRequired() ? '*' : ''%>
                <img src="<%=$this->getPage()->getTheme()->getBaseUrl()%>/switch.png" class="reset_btn" onclick="document.getElementById('<%=$this->Directive->ClientID%>').value = '<%=$this->getDefaultValue() === 0 ? '' : $this->getDefaultValue()%>';" 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