Skip to content

Commit

Permalink
Merge pull request #6 from kmtabish/master
Browse files Browse the repository at this point in the history
Added the publish URL note for  Pivotal ticket #114108357
  • Loading branch information
DanielHindi committed Feb 23, 2016
2 parents 5acceef + fc14618 commit 6c79adc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 7 additions & 1 deletion control/content/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,14 @@
};
DataStore.save(newObj, tag).then(ContentHome.success, ContentHome.error);
};
ContentHome.gotToView = function(){
window.open('https://accounts.google.com', '_blank');
};
ContentHome.gotToSupport = function(){
window.open('https://support.google.com/drive/answer/2494822?hl=en', '_blank');
window.open('https://support.google.com/drive/answer/2494822?hl=en', '_blank');
};
ContentHome.gotToPublish = function(){
window.open('https://support.google.com/docs/answer/37579?hl=en', '_blank');
};
/*
* Method to clear GoogleSheet feed url
Expand Down
6 changes: 4 additions & 2 deletions control/content/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,15 @@
<div class="item clearfix row">
<div class="col-md-9 pull-right">
<p>Note 1: Please make sure you are logged in through your Google
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>
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>
<p>Note 2: If you want to send a file or folder to someone so that they
can
view, edit, or comment on it, you can share it with them directly in
Google Drive, Docs, Sheets, or Slides, or through a link or email
attachment. <a ng-click="ContentHome.gotToSupport()">Here</a> is a
attachment. <a ng-click="ContentHome.gotToSupport()">here</a> is a
link on how to do it.</p>
<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.
</p>
</div>
</div>
</div>
Expand Down

0 comments on commit 6c79adc

Please sign in to comment.