Set test results paragraph messages.
RefStack test results page paragraph should change accordingly whether or not user is login. Closes-Bug: #1514328 Change-Id: Ibfc60665398731f82e2be2b58c389eacbd66d81d
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<h3>{{ctrl.pageHeader}}</h3>
|
||||
<p>The most recently uploaded community test results are listed here.</p>
|
||||
<p>{{ctrl.pageParagraph}}</p>
|
||||
|
||||
<div class="result-filters">
|
||||
<h4>Filters</h4>
|
||||
|
||||
@@ -72,6 +72,11 @@
|
||||
ctrl.pageHeader = ctrl.isUserResults ?
|
||||
'Private test results' : 'Community test results';
|
||||
|
||||
ctrl.pageParagraph = ctrl.isUserResults ?
|
||||
'Your most recently uploaded test results are listed here.' :
|
||||
'The most recently uploaded community test results are listed ' +
|
||||
'here.';
|
||||
|
||||
if (ctrl.isUserResults) {
|
||||
ctrl.authRequest = $scope.auth.doSignCheck()
|
||||
.then(ctrl.update);
|
||||
|
||||
Reference in New Issue
Block a user