Hide status selectbox when there are no statuses available

This commit is contained in:
Nathan Gray 2016-04-13 16:37:01 +00:00
parent 07bae4d00b
commit e20d5a2a1d

View File

@ -138,9 +138,9 @@
<menupopup id="ts_owner" no_lang="1" class="et2_fullWidth"/>
</menulist>
<description/>
<description value="Status"/>
<description value="Status" disabled="@no_ts_status"/>
<menulist span="3">
<menupopup statustext="select a status of the timesheet" id="ts_status" class="et2_fullWidth" options="please select" />
<menupopup statustext="select a status of the timesheet" id="ts_status" class="et2_fullWidth" empty_label="please select" disabled="@no_ts_status"/>
</menulist>
<description/>
</row>