2016-10-05 06:04:39 -04:00
|
|
|
div#history(ng-show="ui.view == 'history'")
|
2018-04-12 12:53:31 -04:00
|
|
|
span
|
2016-10-28 09:40:04 -04:00
|
|
|
.upgrade-prompt(ng-if="project.features.versioning === false && ui.view === 'history'")
|
2018-03-26 06:43:48 -04:00
|
|
|
.message(ng-if="project.owner._id == user.id")
|
|
|
|
p.text-center: strong #{translate("upgrade_to_get_feature", {feature:"full Project History"})}
|
|
|
|
p.text-center.small(ng-show="startedFreeTrial") #{translate("refresh_page_after_starting_free_trial")}
|
|
|
|
ul.list-unstyled
|
|
|
|
li
|
|
|
|
i.fa.fa-check
|
|
|
|
| #{translate("unlimited_projects")}
|
|
|
|
|
|
|
|
li
|
|
|
|
i.fa.fa-check
|
|
|
|
| #{translate("collabs_per_proj", {collabcount:'Multiple'})}
|
|
|
|
|
|
|
|
li
|
|
|
|
i.fa.fa-check
|
|
|
|
| #{translate("full_doc_history")}
|
|
|
|
|
|
|
|
li
|
|
|
|
i.fa.fa-check
|
|
|
|
| #{translate("sync_to_dropbox")}
|
2015-11-02 13:44:26 -05:00
|
|
|
|
2018-03-26 06:43:48 -04:00
|
|
|
li
|
|
|
|
i.fa.fa-check
|
|
|
|
| #{translate("sync_to_github")}
|
2016-10-27 07:05:32 -04:00
|
|
|
|
2018-03-26 06:43:48 -04:00
|
|
|
li
|
|
|
|
i.fa.fa-check
|
|
|
|
|#{translate("compile_larger_projects")}
|
|
|
|
p.text-center(ng-controller="FreeTrialModalController")
|
|
|
|
a.btn.btn-success(
|
|
|
|
href
|
|
|
|
ng-class="buttonClass"
|
|
|
|
ng-click="startFreeTrial('history')"
|
|
|
|
) #{translate("start_free_trial")}
|
2015-02-18 12:50:14 -05:00
|
|
|
|
2015-11-11 12:25:28 -05:00
|
|
|
.message(ng-show="project.owner._id != user.id")
|
|
|
|
p #{translate("ask_proj_owner_to_upgrade_for_history")}
|
|
|
|
p
|
2016-10-05 06:04:39 -04:00
|
|
|
a.small(href, ng-click="toggleHistory()") #{translate("cancel")}
|
2014-07-03 06:18:15 -04:00
|
|
|
|
2018-04-27 06:22:20 -04:00
|
|
|
include ./history/entriesListV1
|
|
|
|
include ./history/entriesListV2
|
2014-06-27 07:45:37 -04:00
|
|
|
|
2018-03-12 07:47:56 -04:00
|
|
|
include ./history/diffPanelV1
|
|
|
|
include ./history/diffPanelV2
|
2014-07-11 08:55:14 -04:00
|
|
|
|
2016-10-05 06:04:39 -04:00
|
|
|
script(type="text/ng-template", id="historyRestoreDiffModalTemplate")
|
2014-07-11 08:55:14 -04:00
|
|
|
.modal-header
|
|
|
|
button.close(
|
|
|
|
type="button"
|
|
|
|
data-dismiss="modal"
|
|
|
|
ng-click="cancel()"
|
|
|
|
) ×
|
2014-07-31 12:07:43 -04:00
|
|
|
h3 #{translate("restore")} {{diff.doc.name}}
|
2014-07-11 08:55:14 -04:00
|
|
|
.modal-body.modal-body-share
|
2014-10-20 10:46:42 -04:00
|
|
|
p !{translate("sure_you_want_to_restore_before", {filename:"<strong>{{diff.doc.name}}</strong>", date:"{{diff.start_ts | formatDate}}"})}
|
2014-07-11 08:55:14 -04:00
|
|
|
.modal-footer
|
|
|
|
button.btn.btn-default(
|
|
|
|
ng-click="cancel()",
|
|
|
|
ng-disabled="state.inflight"
|
2014-07-31 12:07:43 -04:00
|
|
|
) #{translate("cancel")}
|
2014-07-11 08:55:14 -04:00
|
|
|
button.btn.btn-danger(
|
|
|
|
ng-click="restore()",
|
|
|
|
ng-disabled="state.inflight"
|
|
|
|
)
|
2014-07-31 12:07:43 -04:00
|
|
|
span(ng-show="!state.inflight") #{translate("restore")}
|
|
|
|
span(ng-show="state.inflight") #{translate("restoring")} ...
|