Changeset 5831


Ignore:
Timestamp:
03/27/12 10:38:18 (12 years ago)
Author:
douglasz
Message:

Ticket #2486 - Correção para sinalizadores como concluidos.

Location:
trunk/prototype/modules/attach_message
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/attach_message/attach_message.css

    r5826 r5831  
    5151.forwarded {background-image:url(images/forwarded.gif); background-repeat: no-repeat; position:relative; top:3px; left:3px;} 
    5252.draft {background-image:url(images/draft.gif); background-repeat: no-repeat; position:relative; top:3px; left:3px;} 
    53 .labeled{background-image:url(images/tag.png); background-repeat: no-repeat; position:relative; top:3px; left:3px;} 
     53.labeled{background-image:url(images/tag.png); background-repeat: no-repeat; position:relative; top:3px;} 
    5454.followupflagged{width:8px;height:6px;} 
    5555.deleted { } 
  • trunk/prototype/modules/attach_message/attach_message.js

    r5828 r5831  
    116116                classes += '<span class="flags '+ (cell[flag]).toLowerCase() + '"' + (cell[flag] != "" ? 'title="'+ get_lang(cell[flag])+'"' : '')+'> </span>';  
    117117        } 
    118          
     118        console.log(rowObject); 
    119119        if(rowObject.labels){    
    120120                var titles = []; 
     
    136136                        var nameFollowupflag = rowObject.followupflagged.followupflag.name; 
    137137                } 
    138                 classes += '<span class="flags followupflagged" title="'+nameFollowupflag+'" style="background:'+rowObject.followupflagged.backgroundColor+';"><img src="../prototype/modules/mail/img/flagEditor.png"></span>'; 
     138                if(rowObject.followupflagged.isDone == 1){ 
     139                        classes += '<span class="flags followupflagged" title="'+nameFollowupflag+'" style="background:'+rowObject.followupflagged.backgroundColor+';"><img style=" margin-left:-3px;" src="../prototype/modules/mail/img/flagChecked.png"></span>'; 
     140                }else{                   
     141                        classes += '<span class="flags followupflagged" title="'+nameFollowupflag+'" style="background:'+rowObject.followupflagged.backgroundColor+';"><img src="../prototype/modules/mail/img/flagEditor.png"></span>'; 
     142                } 
     143                 
    139144        } 
    140145 
     
    469474                                                                        tabPanelTemplateLabel = tabPanelTemplateLabel.substring(0, $mailpreview_tabs_label_length) + '...'; 
    470475                                                        selectedMessagesCount(); 
     476                                                                 
    471477                                                                if (!$('#' + tabPanelTemplateId).length) {                                                               
    472478                                                                        $mailpreview_tabs.tabs("add", '#' + tabPanelTemplateId, tabPanelTemplateLabel) 
     
    484490                                                                        .find('#' + tabPanelTemplateId + ', [href="#' + tabPanelTemplateId + '"]').removeClass('preview-message-unselected'); 
    485491                                                                } 
    486                                                                  
    487492                                                        } 
    488493                                                }); 
Note: See TracChangeset for help on using the changeset viewer.