mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:36 +01:00
* Calendar - Highlight current user in planner by user
This commit is contained in:
parent
1c98806eea
commit
0737afecc5
@ -518,6 +518,11 @@ var et2_calendar_planner = (function(){ "use strict"; return et2_calendar_view.e
|
||||
{
|
||||
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
|
||||
var t = new Date(this.options.start_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;
|
||||
}
|
||||
|
||||
.calendar_plannerRowWidget.current_user {
|
||||
background-color: rgba(0,0,0,0.05);
|
||||
}
|
||||
.calendar_plannerRowWidget:hover {
|
||||
background-color: rgba(103, 159, 210, 0.2);
|
||||
}
|
||||
|
@ -1079,6 +1079,9 @@ Hide subsequent headers in week view with non-consolidated owners
|
||||
left: 10px;
|
||||
top: 2px;
|
||||
}
|
||||
.calendar_plannerRowWidget.current_user {
|
||||
background-color: rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
.calendar_plannerRowWidget:hover {
|
||||
background-color: rgba(103, 159, 210, 0.2);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user