Change owner tab order for calendar edit dialog

This commit is contained in:
Hadi Nategh 2016-04-26 12:33:25 +00:00
parent 70710d26e2
commit 4ec2674367
2 changed files with 20 additions and 17 deletions

View File

@ -251,11 +251,13 @@
</tabpanels> </tabpanels>
</tabbox> </tabbox>
</row> </row>
<row disabled="!@owner" class="dialogOperators"> <row disabled="!@id" class="dialogOperators">
<description value="Owner"/> <hbox span="2">
<date-time label="created" id="created" no_lang="1" readonly="true"/>
<menulist> <menulist>
<menupopup type="select-account" id="owner" readonly="true"/> <menupopup label = "by" type="select-account" id="owner" readonly="true"/>
</menulist> </menulist>
</hbox>
<hbox align="right"> <hbox align="right">
<date-time label="Updated" id="modified" no_lang="1" readonly="true"/> <date-time label="Updated" id="modified" no_lang="1" readonly="true"/>
<menulist> <menulist>

View File

@ -197,21 +197,23 @@
<column/> <column/>
</columns> </columns>
<rows> <rows>
<row disabled="!@owner"> <row disabled="!@id">
<description value="Owner"/> <description value="Created"/>
<menulist> <hbox>
<menupopup type="select-account" id="owner" readonly="true"/> <menulist>
</menulist> <menupopup type="select-account" id="owner" readonly="true"/>
</menulist>
<date-time id="created" no_lang="1" readonly="true"/>
</hbox>
</row> </row>
<row disabled="!@modified"> <row disabled="!@modified">
<description value="Updated"/> <description value="Updated"/>
<date-time id="modified" no_lang="1" readonly="true"/> <hbox>
</row> <menulist>
<row disabled="!@modifier"> <menupopup type="select-account" class="et2_nowrap" id="modifier" readonly="true"/>
<description value="by"/> </menulist>
<menulist> <date-time id="modified" no_lang="1" readonly="true"/>
<menupopup type="select-account" class="et2_nowrap" id="modifier" readonly="true"/> </hbox>
</menulist>
</row> </row>
</rows> </rows>
</grid> </grid>
@ -225,11 +227,10 @@
<rows> <rows>
<row disabled="@hidebuttons" class="dialogHeadbar" > <row disabled="@hidebuttons" class="dialogHeadbar" >
<hbox span="all" width="100%"> <hbox span="all" width="100%">
<button statustext="Saves this entry" id="button[save]" image="save" background_image="1"/>
<button statustext="Apply the changes" id="button[apply]" image="apply" background_image="1"/> <button statustext="Apply the changes" id="button[apply]" image="apply" background_image="1"/>
<button statustext="delete this entry" id="button[delete]" onclick="et2_dialog.confirm(widget,'Delete this entry','Delete');" image="delete" background_image="1" span="all"/> <button statustext="delete this entry" id="button[delete]" onclick="et2_dialog.confirm(widget,'Delete this entry','Delete');" image="delete" background_image="1" span="all"/>
<buttononly statustext="Find free timeslots where the selected participants are availible for the given timespan" id="freetime" label="Freetime" onclick="app.calendar.freetime_search" image="add" background_image="1"/> <buttononly statustext="Find free timeslots where the selected participants are availible for the given timespan" id="freetime" label="Freetime" onclick="app.calendar.freetime_search" image="add" background_image="1"/>
<checkbox label="notification" id="no_notifications"/> <checkbox label="Do not notify" id="no_notifications"/>
<textbox type="hidden" id="delete_exceptions"/> <textbox type="hidden" id="delete_exceptions"/>
</hbox> </hbox>
</row> </row>