~pkunal-parmar/ubuntu-calendar-app/ICalImport

« back to all changes in this revision

Viewing changes to EventDetails.qml

  • Committer: Kunal Parmar
  • Date: 2013-09-03 15:11:35 UTC
  • mfrom: (100 trunk)
  • mto: This revision was merged to the branch mainline in revision 109.
  • Revision ID: pkunal.parmar@gmail.com-20130903151135-0px5mwkbwqdhw29m
mergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    }
26
26
 
27
27
    function showEvent(e) {
28
 
 
29
28
        // FIXME: temp location in case there is no vanue is defined
30
29
        var location="-15.800513,-47.91378";
31
30
        //var location ="Terry' Cafe, 158 Great Suffold St, London, SE1 1PE";
32
31
 
33
32
        timeLabel.text = Qt.formatDateTime(e.startTime,"hh:mm") + " - " + Qt.formatDateTime(e.endTime,"hh:mm");
34
33
        dateLabel.text = Qt.formatDateTime(e.startTime,"ddd, d MMMM");
35
 
        titleLabel.text = e.title;
 
34
        if( e.title)
 
35
            titleLabel.text = e.title;
36
36
 
37
37
        locationLabel.text = location;
38
38
        if( e.message ) {