Discussion:
[SOGo] Problem with color of categories
Roy Riedl
2016-03-01 08:17:54 UTC
Permalink
Hi,

I have a problem with the color of categories. The color of category doesn't display at the event in calendar.
I have added some events on the calendar and set a category with color.


At the left border of events should display the color of category in calendar. But the left border doesn't display at the right color. It seems the calss sg-category doesn't return the background color for category.


What's wrong? Is there a setting to display the color for category?
I hope someone can help me.


Sorry for my poor english!
--
***@sogo.nu
https://inverse.ca/sogo/lists
Francis Lachapelle
2016-03-01 15:18:53 UTC
Permalink
Hello Roy
Post by Roy Riedl
I have a problem with the color of categories. The color of category doesn't display at the event in calendar.
I have added some events on the calendar and set a category with color.
At the left border of events should display the color of category in calendar. But the left border doesn't display at the right color. It seems the calss sg-category doesn't return the background color for category.
What's wrong? Is there a setting to display the color for category?
I hope someone can help me.
The light blue that appears in your screenshot is not the color you assigned to your "Travel" category?

Let me know if I understand the issue correctly.

Thanks!

Francis
--
***@sogo.nu
https://inverse.ca/sogo/lists
Roy Riedl
2016-03-02 03:04:03 UTC
Permalink
Hi Francis,

Thanks for quick reply.
The light blue that appears in my screenshot is not the color of my "Travel" category. That's right.


Sorry for short description. Here are some more details.

I use SOGo Version 3.0.1 on CentOS 2.6.32-042stab112.15 and I plan to use the system with tablet and the web UI.
The issue also appears on Online Demo V3 - http://demo.sogo.nu/SOGo/


Steps to reproduce:
1. User webclient to login SOGo with your credentials.
2. Navigate to Preferences -> Calandar -> Categories.
3. Add a new category and set a new color.
4. Navigate to Calandar.
5. Add an event with all neccesary data and the newly created category.


The event doesn't display the colored category on events tab (3px on the left side).
<div class="sg-category"
ng-repeat="category in event.categories | limitTo:5"
ng-class="'bg-category' + category"
ng-style="{ left: ($index * 3) + 'px' }"></div>


The same issue on Task tab. Add a new task with an colored category.
<div class="sg-category"
ng-repeat="category in task.categories | limitTo:5"
ng-class="'bg-category' + category"
ng-style="{ left: ($index * 3) + 'px' }"></div>

The event in calendar doesn't display colored categories on the right side (3px).

This issue reproduces on all browsers (Chrome, FF, IE).


Thanks,
Roy

----------------------------------------
Post by Francis Lachapelle
Hello Roy
Post by Roy Riedl
I have a problem with the color of categories. The color of category doesn't display at the event in calendar.
I have added some events on the calendar and set a category with color.
At the left border of events should display the color of category in calendar. But the left border doesn't display at the right color. It seems the calss sg-category doesn't return the background color for category.
What's wrong? Is there a setting to display the color for category?
I hope someone can help me.
The light blue that appears in your screenshot is not the color you assigned to your "Travel" category?
Let me know if I understand the issue correctly.
Thanks!
Francis
--
https://inverse.ca/sogo/lists
--
***@sogo.nu
https://inverse.ca/sogo/lists
Sam
2016-03-02 09:21:19 UTC
Permalink
Hello all,

For me the same things are produce in http://demo.sogo.nu/SOGo/ ...
I don't see any category's color in the calendar.
Additionnally, if I add or remove a category of an event and save, the
event move one day before...

I am on firefox ESR 38.6.1

Sam
Post by Roy Riedl
Hi Francis,
Thanks for quick reply.
The light blue that appears in my screenshot is not the color of my "Travel" category. That's right.
Sorry for short description. Here are some more details.
I use SOGo Version 3.0.1 on CentOS 2.6.32-042stab112.15 and I plan to use the system with tablet and the web UI.
The issue also appears on Online Demo V3 - http://demo.sogo.nu/SOGo/
1. User webclient to login SOGo with your credentials.
2. Navigate to Preferences -> Calandar -> Categories.
3. Add a new category and set a new color.
4. Navigate to Calandar.
5. Add an event with all neccesary data and the newly created category.
The event doesn't display the colored category on events tab (3px on the left side).
<div class="sg-category"
ng-repeat="category in event.categories | limitTo:5"
ng-class="'bg-category' + category"
ng-style="{ left: ($index * 3) + 'px' }"></div>
The same issue on Task tab. Add a new task with an colored category.
<div class="sg-category"
ng-repeat="category in task.categories | limitTo:5"
ng-class="'bg-category' + category"
ng-style="{ left: ($index * 3) + 'px' }"></div>
The event in calendar doesn't display colored categories on the right side (3px).
This issue reproduces on all browsers (Chrome, FF, IE).
Thanks,
Roy
----------------------------------------
Post by Francis Lachapelle
Hello Roy
Post by Roy Riedl
I have a problem with the color of categories. The color of category doesn't display at the event in calendar.
I have added some events on the calendar and set a category with color.
At the left border of events should display the color of category in calendar. But the left border doesn't display at the right color. It seems the calss sg-category doesn't return the background color for category.
What's wrong? Is there a setting to display the color for category?
I hope someone can help me.
The light blue that appears in your screenshot is not the color you assigned to your "Travel" category?
Let me know if I understand the issue correctly.
Thanks!
Francis
--
https://inverse.ca/sogo/lists
--
***@sogo.nu
https://inverse.ca/sogo/lists
Loading...