Merge lp:~boiko/dialer-app/rtm-empty_state into lp:dialer-app/rtm-14.09

Proposed by Gustavo Pichorim Boiko
Status: Merged
Approved by: Bill Filler
Approved revision: 237
Merged at revision: 241
Proposed branch: lp:~boiko/dialer-app/rtm-empty_state
Merge into: lp:dialer-app/rtm-14.09
Diff against target: 18 lines (+8/-0)
1 file modified
src/qml/HistoryPage/HistoryPage.qml (+8/-0)
To merge this branch: bzr merge lp:~boiko/dialer-app/rtm-empty_state
Reviewer Review Type Date Requested Status
Ubuntu Phablet Team Pending
Review via email: mp+243988@code.launchpad.net

Commit message

Add empty state in the history page.

Description of the change

Add empty state in the history page.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/qml/HistoryPage/HistoryPage.qml'
2--- src/qml/HistoryPage/HistoryPage.qml 2014-10-16 15:45:58 +0000
3+++ src/qml/HistoryPage/HistoryPage.qml 2014-12-08 12:49:14 +0000
4@@ -203,6 +203,14 @@
5 }
6 }
7
8+ Label {
9+ id: emptyLabel
10+ fontSize: "large"
11+ anchors.centerIn: parent
12+ visible: historyList.count === 0
13+ text: i18n.tr("No recent calls")
14+ }
15+
16 Component {
17 id: sectionComponent
18 Label {

Subscribers

People subscribed via source and target branches