Skip to content

Commit 6c79adc

Browse files
committed
Merge pull request #6 from kmtabish/master
Added the publish URL note for Pivotal ticket #114108357
2 parents 5acceef + fc14618 commit 6c79adc

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

control/content/app.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,14 @@
8080
};
8181
DataStore.save(newObj, tag).then(ContentHome.success, ContentHome.error);
8282
};
83+
ContentHome.gotToView = function(){
84+
window.open('https://accounts.google.com', '_blank');
85+
};
8386
ContentHome.gotToSupport = function(){
84-
window.open('https://support.google.com/drive/answer/2494822?hl=en', '_blank');
87+
window.open('https://support.google.com/drive/answer/2494822?hl=en', '_blank');
88+
};
89+
ContentHome.gotToPublish = function(){
90+
window.open('https://support.google.com/docs/answer/37579?hl=en', '_blank');
8591
};
8692
/*
8793
* Method to clear GoogleSheet feed url

control/content/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,15 @@
6969
<div class="item clearfix row">
7070
<div class="col-md-9 pull-right">
7171
<p>Note 1: Please make sure you are logged in through your Google
72-
account and have access to the linked file to properly view it. You can click <a href="https://accounts.google.com">here</a> to sign in.</p>
72+
account and have access to the linked file to properly view it. You can click <a ng-click="ContentHome.gotToView()">here</a> to sign in.</p>
7373
<p>Note 2: If you want to send a file or folder to someone so that they
7474
can
7575
view, edit, or comment on it, you can share it with them directly in
7676
Google Drive, Docs, Sheets, or Slides, or through a link or email
77-
attachment. <a ng-click="ContentHome.gotToSupport()">Here</a> is a
77+
attachment. <a ng-click="ContentHome.gotToSupport()">here</a> is a
7878
link on how to do it.</p>
79+
<p>Note 3: To view Google Sheets on your phone, please make sure that your spreadsheet is published. <a ng-click="ContentHome.gotToPublish()">Here</a> is a link on how to do it.
80+
</p>
7981
</div>
8082
</div>
8183
</div>

0 commit comments

Comments
 (0)