Add kanban column to list

This commit is contained in:
nathan 2023-01-19 11:51:32 -07:00
parent 86917eff65
commit 17f82cec40
5 changed files with 107 additions and 73 deletions

View File

@ -16,6 +16,7 @@
<column width="180"/> <column width="180"/>
<column width="40"/> <column width="40"/>
<column width="80" disabled="@no_customfields"/> <column width="80" disabled="@no_customfields"/>
<column width="120"/>
<column width="60%" minWidth="100"/> <column width="60%" minWidth="100"/>
<column width="80" disabled="@no_distribution_list"/> <column width="80" disabled="@no_distribution_list"/>
<column width="80"/> <column width="80"/>
@ -82,6 +83,7 @@
</et2-vbox> </et2-vbox>
<nextmatch-header label="Room" id="room"/> <nextmatch-header label="Room" id="room"/>
<nextmatch-customfields id="customfields"/> <nextmatch-customfields id="customfields"/>
<nextmatch-header label="Kanban"/>
<nextmatch-header label="Note" id="note"/> <nextmatch-header label="Note" id="note"/>
<nextmatch-header label="Distribution lists" id="distribution_list"/> <nextmatch-header label="Distribution lists" id="distribution_list"/>
<et2-vbox> <et2-vbox>
@ -139,7 +141,8 @@
<et2-url-phone id="${row}[tel_home]" readonly="true" class="telNumbers" statustext="Home phone"></et2-url-phone> <et2-url-phone id="${row}[tel_home]" readonly="true" class="telNumbers" statustext="Home phone"></et2-url-phone>
<et2-url-phone id="${row}[tel_cell_private]" readonly="true" class="telNumbers" statustext="Mobile phone (private)"></et2-url-phone> <et2-url-phone id="${row}[tel_cell_private]" readonly="true" class="telNumbers" statustext="Mobile phone (private)"></et2-url-phone>
<et2-url-fax id="${row}[tel_fax]" readonly="true" statustext="Fax"></et2-url-fax> <et2-url-fax id="${row}[tel_fax]" readonly="true" statustext="Fax"></et2-url-fax>
<et2-url-phone id="${row}[tel_prefered]" readonly="true" class="telNumbers" statustext="$row_cont[tel_prefer_label]"></et2-url-phone> <et2-url-phone id="${row}[tel_prefered]" readonly="true" class="telNumbers"
statustext="$row_cont[tel_prefer_label]"></et2-url-phone>
</et2-vbox> </et2-vbox>
<et2-vbox> <et2-vbox>
<et2-url id="${row}[url]" readonly="true" class="fixedHeight"></et2-url> <et2-url id="${row}[url]" readonly="true" class="fixedHeight"></et2-url>
@ -148,11 +151,14 @@
</et2-vbox> </et2-vbox>
<et2-description id="${row}[room]"></et2-description> <et2-description id="${row}[room]"></et2-description>
<customfields-list id="$row" class="customfields"/> <customfields-list id="$row" class="customfields"/>
<et2-link-string entryId="${row_cont[id]}" application="addressbook"
onlyApp="kanban"></et2-link-string>
<et2-textarea id="${row}[note]" readonly="true" noLang="1"></et2-textarea> <et2-textarea id="${row}[note]" readonly="true" noLang="1"></et2-textarea>
<et2-description id="${row}[distrib_lists]"></et2-description> <et2-description id="${row}[distrib_lists]"></et2-description>
<et2-vbox> <et2-vbox>
<et2-select-account id="${row}[owner]" readonly="true"></et2-select-account> <et2-select-account id="${row}[owner]" readonly="true"></et2-select-account>
<et2-select-account id="${row}[shared_with]" readonly="true" multiple="true"></et2-select-account> <et2-select-account id="${row}[shared_with]" readonly="true"
multiple="true"></et2-select-account>
</et2-vbox> </et2-vbox>
<et2-description id="${row}[id]" class="contactid"></et2-description> <et2-description id="${row}[id]" class="contactid"></et2-description>
<et2-vbox> <et2-vbox>

View File

@ -15,6 +15,7 @@
<column width="100"/> <column width="100"/>
<column width="30%"/> <column width="30%"/>
<column width="20%"/> <column width="20%"/>
<column width="120"/>
</columns> </columns>
<rows> <rows>
<row class="th"> <row class="th">
@ -29,6 +30,7 @@
<nextmatch-sortheader label="Group" id="gid"/> <nextmatch-sortheader label="Group" id="gid"/>
<nextmatch-header label="Comment" id="comment"/> <nextmatch-header label="Comment" id="comment"/>
<nextmatch-customfields id="customfields" readonly="true"/> <nextmatch-customfields id="customfields" readonly="true"/>
<nextmatch-header label="Kanban"/>
</row> </row>
<row class="row $row_cont[class]"> <row class="row $row_cont[class]">
<et2-vfs-mime align="center" id="$row"></et2-vfs-mime> <et2-vfs-mime align="center" id="$row"></et2-vfs-mime>
@ -42,6 +44,8 @@
<et2-vfs-gid id="${row}[gid]" noLang="1"></et2-vfs-gid> <et2-vfs-gid id="${row}[gid]" noLang="1"></et2-vfs-gid>
<et2-description id="${row}[comment]"></et2-description> <et2-description id="${row}[comment]"></et2-description>
<customfields-list id="$row" class="customfields"/> <customfields-list id="$row" class="customfields"/>
<et2-link-string entryId="${row_cont[path]}" application="filemanager"
onlyApp="kanban"></et2-link-string>
</row> </row>
</rows> </rows>
</grid> </grid>

View File

@ -16,6 +16,7 @@
<column width="120"/> <column width="120"/>
<column width="45%"/> <column width="45%"/>
<column width="15%" disabled="@no_customfields"/> <column width="15%" disabled="@no_customfields"/>
<column width="120"/>
<column/> <column/>
<column width="120"/> <column width="120"/>
<column/> <column/>
@ -51,6 +52,7 @@
</rows> </rows>
</grid> </grid>
<nextmatch-customfields id="customfields" app="infolog"/> <nextmatch-customfields id="customfields" app="infolog"/>
<nextmatch-header label="Kanban"/>
<nextmatch-header label="Category" id="cat_id"/> <nextmatch-header label="Category" id="cat_id"/>
<et2-vbox> <et2-vbox>
<nextmatch-sortheader label="Startdate" id="info_startdate" sortmode="DESC"/> <nextmatch-sortheader label="Startdate" id="info_startdate" sortmode="DESC"/>
@ -82,8 +84,10 @@
<et2-vbox class="infolog_fullWidth"> <et2-vbox class="infolog_fullWidth">
<et2-link label="%s $row_cont[info_addr]" id="${row}[info_link]" app=""></et2-link> <et2-link label="%s $row_cont[info_addr]" id="${row}[info_link]" app=""></et2-link>
<et2-hbox> <et2-hbox>
<et2-description id="${row}[info_subject]" class="$row_cont[sub_class] et2_ellipsis" overflow="hidden" width="85%" noLang="1"></et2-description> <et2-description id="${row}[info_subject]" class="$row_cont[sub_class] et2_ellipsis"
<et2-description align="right" id="{$row}[info_number]" class="infolog_infoId" noLang="1"></et2-description> overflow="hidden" width="85%" noLang="1"></et2-description>
<et2-description align="right" id="{$row}[info_number]" class="infolog_infoId"
noLang="1"></et2-description>
</et2-hbox> </et2-hbox>
<et2-box class="infoDes"> <et2-box class="infoDes">
<et2-description id="${row}[info_des]" noLang="1" activateLinks="1"></et2-description> <et2-description id="${row}[info_des]" noLang="1" activateLinks="1"></et2-description>
@ -91,16 +95,24 @@
<et2-link-string id="${row}[filelinks]"></et2-link-string> <et2-link-string id="${row}[filelinks]"></et2-link-string>
</et2-vbox> </et2-vbox>
<customfields-list id="$row" class="customfields" app="infolog"/> <customfields-list id="$row" class="customfields" app="infolog"/>
<et2-link-string entryId="${row_cont[info_id]}" application="infolog"
onlyApp="kanban"></et2-link-string>
<et2-select-cat id="${row}[info_cat]" readonly="true"></et2-select-cat> <et2-select-cat id="${row}[info_cat]" readonly="true"></et2-select-cat>
<et2-vbox> <et2-vbox>
<et2-date-time id="${row}[info_startdate]" readonly="true" class="infolog_fixedHeight"></et2-date-time> <et2-date-time id="${row}[info_startdate]" readonly="true"
<et2-date-time id="${row}[info_enddate]" readonly="true" class="$row_cont[end_class] infolog_fixedHeight"></et2-date-time> class="infolog_fixedHeight"></et2-date-time>
<et2-date-time id="${row}[info_datecompleted]" readonly="true" class="infolog_fixedHeight"></et2-date-time> <et2-date-time id="${row}[info_enddate]" readonly="true"
class="$row_cont[end_class] infolog_fixedHeight"></et2-date-time>
<et2-date-time id="${row}[info_datecompleted]" readonly="true"
class="infolog_fixedHeight"></et2-date-time>
</et2-vbox> </et2-vbox>
<et2-vbox> <et2-vbox>
<et2-hbox> <et2-hbox>
<et2-date-duration id="${row}[info_used_time]" readonly="true" disabled="!$row_cont[info_used_time]" selectUnit="true" displayFormat="@@duration_format"></et2-date-duration> <et2-date-duration id="${row}[info_used_time]" readonly="true"
<et2-date-duration id="${row}[info_sum_timesheets]" readonly="true" class="timesheet" selectUnit="true" displayFormat="@@duration_format"></et2-date-duration> disabled="!$row_cont[info_used_time]" selectUnit="true"
displayFormat="@@duration_format"></et2-date-duration>
<et2-date-duration id="${row}[info_sum_timesheets]" readonly="true" class="timesheet"
selectUnit="true" displayFormat="@@duration_format"></et2-date-duration>
</et2-hbox> </et2-hbox>
<et2-date-duration id="${row}[info_planned_time]" readonly="true" span="all" class="infolog_planned" displayFormat="@@duration_format" selectUnit="true"></et2-date-duration> <et2-date-duration id="${row}[info_planned_time]" readonly="true" span="all" class="infolog_planned" displayFormat="@@duration_format" selectUnit="true"></et2-date-duration>
</et2-vbox> </et2-vbox>

View File

@ -12,6 +12,7 @@
<column width="15%"/> <column width="15%"/>
<column width="15%"/> <column width="15%"/>
<column width="15%" disabled="@no_customfields"/> <column width="15%" disabled="@no_customfields"/>
<column width="120"/>
</columns> </columns>
<rows> <rows>
<row class="th"> <row class="th">
@ -36,6 +37,7 @@
<nextmatch-sortheader label="Inventory Number" id="inventory_number"/> <nextmatch-sortheader label="Inventory Number" id="inventory_number"/>
<nextmatch-header label="Resource / Accessories"/> <nextmatch-header label="Resource / Accessories"/>
<nextmatch-customfields id="customfields"/> <nextmatch-customfields id="customfields"/>
<nextmatch-header label="Kanban"/>
</row> </row>
<row class="$row_cont[class]"> <row class="$row_cont[class]">
<et2-image-expose id="${row}[picture_thumb]" href="$row_cont[picture_original]" src="$row_cont[picture_thumb]" class="thumbnailImage"></et2-image-expose> <et2-image-expose id="${row}[picture_thumb]" href="$row_cont[picture_original]" src="$row_cont[picture_thumb]" class="thumbnailImage"></et2-image-expose>
@ -65,12 +67,16 @@
</columns> </columns>
<rows> <rows>
<row> <row>
<et2-description href="resources.resources_ui.edit&amp;res_id=$row_cont[acc_id]" id="${row}[name]" extraLinkPopup="850x600" noLang="1"></et2-description> <et2-description href="resources.resources_ui.edit&amp;res_id=$row_cont[acc_id]"
id="${row}[name]" extraLinkPopup="850x600"
noLang="1"></et2-description>
</row> </row>
</rows> </rows>
</grid> </grid>
</et2-vbox> </et2-vbox>
<customfields-list id="$row"/> <customfields-list id="$row"/>
<et2-link-string entryId="${row_cont[res_id]}" application="resources"
onlyApp="kanban"></et2-link-string>
</row> </row>
</rows> </rows>
</grid> </grid>

View File

@ -27,6 +27,7 @@
<column width="50"/> <column width="50"/>
<column width="10%" disabled="@no_ts_status"/> <column width="10%" disabled="@no_ts_status"/>
<column width="15%"/> <column width="15%"/>
<column width="120"/>
</columns> </columns>
<rows> <rows>
<row class="th"> <row class="th">
@ -69,6 +70,7 @@
<nextmatch-sortheader label="ID" id="ts_id"/> <nextmatch-sortheader label="ID" id="ts_id"/>
<et2-nextmatch-header-filter id="ts_status" emptyLabel="Status"/> <et2-nextmatch-header-filter id="ts_status" emptyLabel="Status"/>
<nextmatch-customfields id="customfields"/> <nextmatch-customfields id="customfields"/>
<nextmatch-header label="Kanban"/>
</row> </row>
<row class="$row_cont[cat_id] $row_cont[class]"> <row class="$row_cont[cat_id] $row_cont[class]">
<et2-date-time id="${row}[ts_start]" readonly="true" ></et2-date-time> <et2-date-time id="${row}[ts_start]" readonly="true" ></et2-date-time>
@ -78,15 +80,19 @@
<et2-description id="${row}[ts_description]" class="ts_description" noLang="1"></et2-description> <et2-description id="${row}[ts_description]" class="ts_description" noLang="1"></et2-description>
</et2-vbox> </et2-vbox>
<et2-select-cat class="noWrap" id="${row}[cat_id]" readonly="true"></et2-select-cat> <et2-select-cat class="noWrap" id="${row}[cat_id]" readonly="true"></et2-select-cat>
<et2-date-duration id="${row}[ts_duration]" readonly="true" align="right" displayFormat="hm" selectUnit="false"></et2-date-duration> <et2-date-duration id="${row}[ts_duration]" readonly="true" align="right" displayFormat="hm"
selectUnit="false"></et2-date-duration>
<et2-number id="${row}[ts_quantity]" readonly="true" precision="3" noLang="1"></et2-number> <et2-number id="${row}[ts_quantity]" readonly="true" precision="3" noLang="1"></et2-number>
<et2-description id="${row}[ts_unitprice]" noLang="1"></et2-description> <et2-description id="${row}[ts_unitprice]" noLang="1"></et2-description>
<et2-number id="${row}[ts_total]" readonly="true" precision="2" noLang="1"></et2-number> <et2-number id="${row}[ts_total]" readonly="true" precision="2" noLang="1"></et2-number>
<et2-select-account class="$cont[ownerClass]" id="${row}[ts_owner]" readonly="true"></et2-select-account> <et2-select-account class="$cont[ownerClass]" id="${row}[ts_owner]"
readonly="true"></et2-select-account>
<et2-date-time id="${row}[ts_created]" readonly="true"></et2-date-time> <et2-date-time id="${row}[ts_created]" readonly="true"></et2-date-time>
<et2-description id="${row}[ts_id]"></et2-description> <et2-description id="${row}[ts_id]"></et2-description>
<et2-select id="${row}[ts_status]" readonly="true"></et2-select> <et2-select id="${row}[ts_status]" readonly="true"></et2-select>
<customfields-list id="$row" readonly="true"/> <customfields-list id="$row" readonly="true"/>
<et2-link-string entryId="${row_cont[ts_id]}" application="timesheet"
onlyApp="kanban"></et2-link-string>
</row> </row>
</rows> </rows>
</grid> </grid>