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()"
|
|
|
|
) ×
|
2014-07-31 12:07:43 -04:00
|
|
|
h3 #{translate("dropbox_link")}
|
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-17 09:20:29 -04:00
|
|
|
span
|
2014-07-31 12:07:43 -04:00
|
|
|
strong {{dbState.minsTillNextPoll}} #{translate("minutes")}
|
|
|
|
span #{translate("until_db_checked_for_changes")}
|
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")
|
2014-07-31 12:07:43 -04:00
|
|
|
span.small #{translate("checking_dropbox_status")}
|
2014-07-17 09:20:29 -04:00
|
|
|
i.fa.fa-refresh.fa-spin
|
|
|
|
|
|
|
|
.modal-footer()
|
|
|
|
button.btn.btn-default(
|
|
|
|
ng-click="cancel()",
|
|
|
|
)
|
2014-07-31 12:07:43 -04:00
|
|
|
span #{translate("dismiss")}
|