Fix calendar print view
This commit is contained in:
parent
747f2d5a26
commit
a6ba6981e9
3 changed files with 7 additions and 3 deletions
|
@ -176,7 +176,7 @@ class calendar_ui
|
||||||
{
|
{
|
||||||
$color = $prop['color'];
|
$color = $prop['color'];
|
||||||
$class = 'cal-' . asciiwords($id, true);
|
$class = 'cal-' . asciiwords($id, true);
|
||||||
$css .= "li.$class, #eventshow .$class { color: #$color }\n";
|
$css .= "li .$class, #eventshow .$class { color: #$color }\n";
|
||||||
|
|
||||||
if ($mode != 1) {
|
if ($mode != 1) {
|
||||||
if ($mode == 3) {
|
if ($mode == 3) {
|
||||||
|
|
|
@ -125,7 +125,7 @@ window.rcmail && rcmail.addEventListener('init', function(evt) {
|
||||||
},
|
},
|
||||||
// event rendering
|
// event rendering
|
||||||
eventRender: function(event, element, view) {
|
eventRender: function(event, element, view) {
|
||||||
if (view.name != 'month') {
|
if (view.name != 'month' && view.name != 'table') {
|
||||||
var cont = element.find('.fc-event-title');
|
var cont = element.find('.fc-event-title');
|
||||||
if (event.location) {
|
if (event.location) {
|
||||||
cont.after('<div class="fc-event-location">@ ' + Q(event.location) + '</div>');
|
cont.after('<div class="fc-event-location">@ ' + Q(event.location) + '</div>');
|
||||||
|
|
|
@ -60,7 +60,6 @@ body, td, th, div, p, h3, select, input, textarea {
|
||||||
}
|
}
|
||||||
|
|
||||||
#calendarlist li {
|
#calendarlist li {
|
||||||
float: left;
|
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
padding-right: 3em;
|
padding-right: 3em;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
@ -72,6 +71,11 @@ body, td, th, div, p, h3, select, input, textarea {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#calendarlist li.x-invitations div {
|
||||||
|
color: #999;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
.calwidth {
|
.calwidth {
|
||||||
width: 700px;
|
width: 700px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|
Loading…
Add table
Reference in a new issue