addressbook view sidemenu contact data styling changes

(cherry picked from commit f705383ecf)
This commit is contained in:
milan 2024-11-21 14:03:53 +01:00
parent dba2984363
commit e2406c6cc2
5 changed files with 26 additions and 4 deletions

View File

@ -300,7 +300,7 @@ class AddressbookApp extends EgwApp
extras.crm_list = <string>egw.preference('crm_list', 'addressbook');
}
const title_app = extras.crm_list == "tracker" ? " (" + egw.lang(extras.crm_list) + ")" : "";
extras.title = ((_action.id.match(/\-organisation/) || extras.crm_list.endsWith("-organisation")) && data.org_name != "")
extras.title = ((_action.id.match(/\-organisation/) || extras.crm_list?.endsWith("-organisation")) && data.org_name != "")
? data.org_name
: data.n_fn + title_app;
extras.icon = data.photo;

View File

@ -51,10 +51,10 @@
</row>
<row class="toolbox">
<et2-hbox>
<et2-button id="button[edit]" label="open" image="edit" onclick="app.addressbook.view_actions"></et2-button>
<et2-button id="button[copy]" label="copy" image="copy" onclick="app.addressbook.view_actions"></et2-button>
<et2-button id="button[edit]" statustext="open" image="edit" onclick="app.addressbook.view_actions"></et2-button>
<et2-button id="button[copy]" statustext="copy" image="copy" onclick="app.addressbook.view_actions"></et2-button>
<et2-button id="button[close]" statustext="close" readonly="false" image="close" onclick="app.addressbook.view_actions"></et2-button>
<et2-button id="button[delete]" label="delete" image="delete" onclick="app.addressbook.view_actions" noSubmit="true"></et2-button>
<et2-button id="button[delete]" statustext="delete" image="delete" onclick="app.addressbook.view_actions" noSubmit="true"></et2-button>
</et2-hbox>
</row>
</rows>

View File

@ -6869,6 +6869,13 @@ table.egwGridView_grid img.et2_appicon {
border-top-color: #003366;
border-top-width: 4px !important;
}
/**
Addressbook sidebox grid table
*/
#egw_fw_sidemenu table.addressbook_view {
table-layout: fixed;
width: 100%;
}
#egw_fw_basecontainer.egw_fw_sidebar_toggleOn #admin_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
background-color: rgba(51, 51, 51, 0.3);
border-left: 4px solid #333333 !important;

View File

@ -6862,6 +6862,13 @@ table.egwGridView_grid img.et2_appicon {
border-top-color: #003366;
border-top-width: 4px !important;
}
/**
Addressbook sidebox grid table
*/
#egw_fw_sidemenu table.addressbook_view {
table-layout: fixed;
width: 100%;
}
#egw_fw_basecontainer.egw_fw_sidebar_toggleOn #admin_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
background-color: rgba(51, 51, 51, 0.3);
border-left: 4px solid #333333 !important;

View File

@ -131,6 +131,14 @@
border-top-color: @addressbook-color;
border-top-width: 4px !important;
}
/**
Addressbook sidebox grid table
*/
#egw_fw_sidemenu table.addressbook_view{
table-layout: fixed;
width: 100%;
}
// Admin
#egw_fw_basecontainer.egw_fw_sidebar_toggleOn #admin_sidebox_header.egw_fw_ui_sidemenu_entry_header_active {
background-color: fade(@admin-color, 30%);