overleaf/services/web/app/views/project/editor/dropbox.jade

46 lines
1.6 KiB
Text
Raw Normal View History

2014-07-17 09:20:29 -04:00
script(type="text/ng-template", id="dropboxModalTemplate")
.modal-header
button.close(
type="button"
data-dismiss="modal"
ng-click="cancel()"
) ×
h3 #{translate("dropbox_sync")}
2014-07-17 09:20:29 -04:00
.modal-body.modal-body-share
div(ng-show="dbState.gotLinkStatus")
div(ng-hide="dbState.userIsLinkedToDropbox || !dbState.hasDropboxFeature")
2014-07-31 12:07:43 -04:00
span(ng-hide="dbState.startedLinkProcess") #{translate("account_not_linked_to_dropbox")}
2014-07-17 09:20:29 -04:00
|    
2014-07-31 12:07:43 -04:00
a(ng-click="linkToDropbox()").btn.btn-info #{translate("update_dropbox_settings")}
2014-07-17 09:20:29 -04:00
p.small.text-center(ng-show="dbState.startedLinkProcess")
2014-07-31 12:07:43 -04:00
| #{translate("refresh_page_after_starting_free_trial")}
2014-07-17 09:20:29 -04:00
div(ng-show="dbState.hasDropboxFeature && dbState.userIsLinkedToDropbox")
2014-07-17 10:08:12 -04:00
progressbar.progress-striped.active(value='dbState.percentageLeftTillNextPoll', type="info")
2014-07-31 08:03:34 -04:00
p
2014-07-31 12:07:43 -04:00
strong {{dbState.minsTillNextPoll}} #{translate("minutes")}
span #{translate("until_db_checked_for_changes")}
2014-07-31 08:03:34 -04:00
p.small
| #{translate("this_project_will_appear_in_your_dropbox_folder_at")}
2014-07-31 08:03:34 -04:00
strong Dropbox/sharelatex/{{ project.name }}
2014-07-17 09:20:29 -04:00
div.text-center(ng-hide="dbState.hasDropboxFeature")
2014-07-31 12:07:43 -04:00
p #{translate("need_to_upgrade_for_dropbox")}
2014-07-17 09:20:29 -04:00
p
2014-07-31 12:07:43 -04:00
a.btn.btn-info(ng-click="startFreeTrial('dropbox')") #{translate("start_free_trial")}
2014-07-17 09:20:29 -04:00
p.small(ng-show="startedFreeTrial")
2014-07-31 12:07:43 -04:00
| #{translate("refresh_page_after_starting_free_trial")}
2014-07-17 09:20:29 -04:00
div(ng-hide="dbState.gotLinkStatus")
i.fa.fa-refresh.fa-spin
span.small   #{translate("checking_dropbox_status")}
2014-07-17 09:20:29 -04:00
.modal-footer()
button.btn.btn-default(
ng-click="cancel()",
)
2014-07-31 12:07:43 -04:00
span #{translate("dismiss")}