forked from extern/egroupware
* Calendar - Highlight current user in planner by user
This commit is contained in:
parent
fcf50f1bc0
commit
94132c68be
@ -518,6 +518,11 @@ var et2_calendar_planner = (function(){ "use strict"; return et2_calendar_view.e
|
|||||||
{
|
{
|
||||||
row.set_disabled(true);
|
row.set_disabled(true);
|
||||||
}
|
}
|
||||||
|
// Highlight current user, sort_key is account_id
|
||||||
|
if(sort_key === egw.user('account_id'))
|
||||||
|
{
|
||||||
|
row.set_class('current_user')
|
||||||
|
}
|
||||||
// Since the daywise cache is by user, we can tap in here
|
// Since the daywise cache is by user, we can tap in here
|
||||||
var t = new Date(this.options.start_date);
|
var t = new Date(this.options.start_date);
|
||||||
var end = new Date(this.options.end_date);
|
var end = new Date(this.options.end_date);
|
||||||
|
@ -1113,6 +1113,9 @@ Hide subsequent headers in week view with non-consolidated owners
|
|||||||
top: 2px;
|
top: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.calendar_plannerRowWidget.current_user {
|
||||||
|
background-color: rgba(0,0,0,0.05);
|
||||||
|
}
|
||||||
.calendar_plannerRowWidget:hover {
|
.calendar_plannerRowWidget:hover {
|
||||||
background-color: rgba(103, 159, 210, 0.2);
|
background-color: rgba(103, 159, 210, 0.2);
|
||||||
}
|
}
|
||||||
|
@ -1079,6 +1079,9 @@ Hide subsequent headers in week view with non-consolidated owners
|
|||||||
left: 10px;
|
left: 10px;
|
||||||
top: 2px;
|
top: 2px;
|
||||||
}
|
}
|
||||||
|
.calendar_plannerRowWidget.current_user {
|
||||||
|
background-color: rgba(0, 0, 0, 0.05);
|
||||||
|
}
|
||||||
.calendar_plannerRowWidget:hover {
|
.calendar_plannerRowWidget:hover {
|
||||||
background-color: rgba(103, 159, 210, 0.2);
|
background-color: rgba(103, 159, 210, 0.2);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user