~mutse-young/ubuntu-docviewer-app/trunk

« back to all changes in this revision

Viewing changes to src/app/qml/DetailsPage.qml

  • Committer: Tarmac
  • Author(s): Stefano Verzegnassi
  • Date: 2014-11-07 22:02:18 UTC
  • mfrom: (36.3.6 content-hub-support)
  • Revision ID: tarmac-20141107220218-gpy3rrsdl8lgierw
Added ContentHub support. Fixes: https://bugs.launchpad.net/bugs/1387025, https://bugs.launchpad.net/bugs/1387026.

Approved by Arthur Mello, Ubuntu Phone Apps Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
Page {
8
8
    id: detailsPage
 
9
    objectName: "detailsPage"
 
10
 
9
11
    title: i18n.tr("Details")
10
12
 
11
13
    Column {
22
24
 
23
25
        ListItem.Subtitled {
24
26
            text: i18n.tr("Created")
25
 
            // FIXME: the creationTime property is not yet available
26
27
            subText: file.creationTime.toLocaleString(Qt.locale())
27
28
        }
28
29
 
35
36
            id: mimetypeItem
36
37
            objectName: "mimetypeItem"
37
38
            text: i18n.tr("MIME type")
38
 
            subText: mainView.mimetype
 
39
            subText: file.mimetype
39
40
        }
40
41
    }
41
42
}