Changeset e2b38a9 in indico


Ignore:
Timestamp:
07/28/10 10:06:47 (3 years ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, new-webex, v0.97-series, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, 0da0c1403bae8e51d8229f460181c71b9e6dda72
Children:
a6fce3
Parents:
639df4
git-author:
Daniel Hugo Campora Perez <dcampora@…> (07/21/10 11:48:16)
git-committer:
Jose Benito <jose.benito.gonzalez@…> (07/28/10 10:06:47)
Message:

[FIX] Display IDs in the timetable entries

-fix#497

File:
1 edited

Legend:

Unmodified
Added
Removed
  • indico/htdocs/js/indico/Timetable/Draw.js

    r0cc25d re2b38a9  
    139139                var self = this; 
    140140 
     141                //this.titleID = Html.div({className: 'timetableBlockTitleID', style: {fontWeight: this.eventData.fontWeight}}, this._getTitleID()); 
     142 
    141143                this.titleDiv = Html.div({className: 'timetableBlockTitle', style: {fontWeight: this.eventData.fontWeight}}, this._getTitle()); 
    142144 
    143                 this.titleWrapper = Html.div({}, this._getRightSideDecorators(), this.titleDiv); 
     145                // TODO 2 - drawing 
     146                this.titleWrapper = Html.div({}, this._getRightSideDecorators(), /*this.titleID,*/ this.titleDiv); 
    144147 
    145148                this.div = Html.div({style: { width: '100%', height: '100%'}}, this.titleWrapper); 
     
    592595     }); 
    593596 
     597// TODO 1 
     598// sessionId, conferenceId, contributionId 
     599// if(this.eventData.entryType == "Contribution") 
     600//    return this.eventData.contributionId + " " + title; 
    594601type("TimetableBlockNormalManagement", ["TimetableBlockNormal", "TimetableBlockManagementMixin"], 
    595602     { 
     603         _getTitle: function(){ 
     604             var title = this.eventData.title; 
     605 
     606             if (this.eventData.slotTitle && this.eventData.slotTitle !== "") { 
     607                 title += ": " + this.eventData.slotTitle; 
     608             } 
     609             if(this.eventData.entryType == "Session") 
     610                 return this.eventData.sessionId + " " + title; 
     611 
     612             return title; 
     613         } 
    596614     }, 
    597615     function(timetable, eventData, blockData, compactMode, printableVersion, detailLevel, managementActions) 
Note: See TracChangeset for help on using the changeset viewer.