2014-07-22 08:33:01 -04:00
|
|
|
div.full-size.pdf(ng-controller="PdfController")
|
2020-09-28 06:51:15 -04:00
|
|
|
if showNewLogsUI
|
|
|
|
preview-pane(
|
|
|
|
compiler-state=`{
|
2021-03-18 09:49:01 -04:00
|
|
|
autoCompileHasChanges: changesToAutoCompile,
|
|
|
|
autoCompileHasLintingError: autoCompileLintingError,
|
2020-09-28 06:51:15 -04:00
|
|
|
isAutoCompileOn: autocompile_enabled,
|
2020-10-20 08:44:19 -04:00
|
|
|
isClearingCache: pdf.clearingCache,
|
2020-09-28 06:51:15 -04:00
|
|
|
isCompiling: pdf.compiling,
|
|
|
|
isDraftModeOn: draft,
|
2020-09-29 07:08:49 -04:00
|
|
|
isSyntaxCheckOn: stop_on_validation_error,
|
2020-11-16 05:01:01 -05:00
|
|
|
lastCompileTimestamp: pdf.lastCompileTimestamp,
|
2020-11-26 04:58:42 -05:00
|
|
|
logEntries: pdf.logEntries,
|
|
|
|
validationIssues: pdf.validation,
|
|
|
|
rawLog: pdf.rawLog,
|
2021-07-05 09:56:24 -04:00
|
|
|
compileFailed: pdf.compileFailed,
|
|
|
|
errors: {
|
|
|
|
error: pdf.error,
|
|
|
|
renderingError: pdf.renderingError,
|
|
|
|
clsiMaintenance: pdf.clsiMaintenance,
|
|
|
|
clsiUnavailable: pdf.clsiUnavailable,
|
|
|
|
tooRecentlyCompiled: pdf.tooRecentlyCompiled,
|
|
|
|
compileTerminated: pdf.compileTerminated,
|
|
|
|
rateLimited: pdf.rateLimited,
|
|
|
|
compileInProgress: pdf.compileInProgress,
|
|
|
|
timedout: pdf.timedout,
|
|
|
|
projectTooLarge: pdf.projectTooLarge,
|
|
|
|
autoCompileDisabled: pdf.autoCompileDisabled,
|
|
|
|
failure: pdf.failure
|
|
|
|
}
|
2020-09-28 06:51:15 -04:00
|
|
|
}`
|
2020-10-20 08:44:19 -04:00
|
|
|
on-clear-cache="clearCache"
|
2020-09-28 06:51:15 -04:00
|
|
|
on-recompile="recompile"
|
2020-12-02 05:03:03 -05:00
|
|
|
on-recompile-from-scratch="recompileFromScratch"
|
2020-09-28 06:51:15 -04:00
|
|
|
on-run-syntax-check-now="runSyntaxCheckNow"
|
|
|
|
on-set-auto-compile="setAutoCompile"
|
|
|
|
on-set-draft-mode="setDraftMode"
|
|
|
|
on-set-syntax-check="setSyntaxCheck"
|
|
|
|
on-toggle-logs="toggleLogs"
|
2020-10-20 08:44:32 -04:00
|
|
|
output-files="pdf.outputFiles"
|
|
|
|
pdf-download-url="pdf.downloadUrl"
|
2020-12-02 05:03:03 -05:00
|
|
|
split-layout="ui.pdfLayout === 'sideBySide'"
|
|
|
|
on-set-split-layout="setPdfSplitLayout"
|
|
|
|
on-set-full-layout="setPdfFullLayout"
|
|
|
|
on-stop-compilation="stop"
|
2021-03-23 06:18:28 -04:00
|
|
|
variant-with-first-error-popup="logsUISubvariant === 'new-logs-ui-with-popup'"
|
2020-09-29 07:08:49 -04:00
|
|
|
show-logs="shouldShowLogs"
|
2020-11-16 05:01:01 -05:00
|
|
|
on-log-entry-location-click="openInEditor"
|
2016-06-14 12:02:22 -04:00
|
|
|
)
|
2020-09-28 06:51:15 -04:00
|
|
|
else
|
|
|
|
.toolbar.toolbar-pdf(ng-class="{ 'changes-to-autocompile': changesToAutoCompile && !autoCompileLintingError }")
|
|
|
|
.btn-group.btn-recompile-group#recompile(
|
|
|
|
dropdown,
|
|
|
|
tooltip-html="'"+translate('recompile_pdf')+" <span class=\"keyboard-shortcut\">({{modifierKey}} + Enter)</span>'"
|
|
|
|
tooltip-class="keyboard-tooltip"
|
|
|
|
tooltip-popup-delay="500"
|
|
|
|
tooltip-append-to-body="true"
|
|
|
|
tooltip-placement="bottom"
|
2016-02-02 09:50:48 -05:00
|
|
|
)
|
2020-09-28 06:51:15 -04:00
|
|
|
a.btn.btn-recompile(
|
|
|
|
href,
|
|
|
|
ng-disabled="pdf.compiling",
|
|
|
|
ng-click="recompile()"
|
2016-02-02 09:50:48 -05:00
|
|
|
)
|
2020-09-28 06:51:15 -04:00
|
|
|
i.fa.fa-refresh(
|
|
|
|
ng-class="{'fa-spin': pdf.compiling }"
|
|
|
|
)
|
|
|
|
span.btn-recompile-label(ng-show="!pdf.compiling") #{translate("recompile")}
|
|
|
|
span.btn-recompile-label(ng-show="pdf.compiling") #{translate("compiling")}…
|
|
|
|
|
|
|
|
a.btn.btn-recompile.dropdown-toggle(
|
|
|
|
href,
|
|
|
|
ng-disabled="pdf.compiling",
|
|
|
|
dropdown-toggle
|
|
|
|
)
|
|
|
|
span.caret
|
|
|
|
ul.dropdown-menu.dropdown-menu-left
|
|
|
|
li.dropdown-header #{translate("auto_compile")}
|
|
|
|
li
|
|
|
|
a(href, ng-click="autocompile_enabled = true")
|
|
|
|
i.fa.fa-fw(ng-class="{'fa-check': autocompile_enabled}")
|
|
|
|
| #{translate('on')}
|
|
|
|
li
|
|
|
|
a(href, ng-click="autocompile_enabled = false")
|
|
|
|
i.fa.fa-fw(ng-class="{'fa-check': !autocompile_enabled}")
|
|
|
|
| #{translate('off')}
|
|
|
|
li.dropdown-header #{translate("compile_mode")}
|
|
|
|
li
|
|
|
|
a(href, ng-click="draft = false")
|
|
|
|
i.fa.fa-fw(ng-class="{'fa-check': !draft}")
|
|
|
|
| #{translate("normal")}
|
|
|
|
li
|
|
|
|
a(href, ng-click="draft = true")
|
|
|
|
i.fa.fa-fw(ng-class="{'fa-check': draft}")
|
|
|
|
| #{translate("fast")}
|
|
|
|
span.subdued [draft]
|
|
|
|
li.dropdown-header #{translate("compile_time_checks")}
|
|
|
|
li
|
|
|
|
a(href, ng-click="stop_on_validation_error = true")
|
|
|
|
i.fa.fa-fw(ng-class="{'fa-check': stop_on_validation_error}")
|
|
|
|
| #{translate("stop_on_validation_error")}
|
|
|
|
li
|
|
|
|
a(href, ng-click="stop_on_validation_error = false")
|
|
|
|
i.fa.fa-fw(ng-class="{'fa-check': !stop_on_validation_error}")
|
|
|
|
| #{translate("ignore_validation_errors")}
|
|
|
|
li
|
|
|
|
a(href, ng-click="recompile({check:true})")
|
|
|
|
i.fa.fa-fw()
|
|
|
|
| #{translate("run_syntax_check_now")}
|
|
|
|
a(
|
|
|
|
href
|
|
|
|
ng-click="stop()"
|
|
|
|
ng-show="pdf.compiling",
|
|
|
|
tooltip=translate('stop_compile')
|
2018-02-08 05:24:21 -05:00
|
|
|
tooltip-placement="bottom"
|
|
|
|
)
|
2020-09-28 06:51:15 -04:00
|
|
|
i.fa.fa-fw.fa-stop()
|
|
|
|
a.log-btn(
|
|
|
|
href
|
|
|
|
ng-click="toggleLogs()"
|
|
|
|
ng-class="{ 'active': shouldShowLogs == true }"
|
|
|
|
tooltip=translate('logs_and_output_files')
|
2014-07-22 08:33:01 -04:00
|
|
|
tooltip-placement="bottom"
|
|
|
|
)
|
2020-09-28 06:51:15 -04:00
|
|
|
i.fa.fa-fw.fa-file-text-o
|
|
|
|
span.label(
|
|
|
|
ng-show="pdf.logEntries.warnings.length + pdf.logEntries.errors.length > 0"
|
|
|
|
ng-class="{\
|
|
|
|
'label-warning': pdf.logEntries.errors.length == 0,\
|
|
|
|
'label-danger': pdf.logEntries.errors.length > 0\
|
|
|
|
}"
|
|
|
|
) {{ pdf.logEntries.errors.length + pdf.logEntries.warnings.length }}
|
|
|
|
|
2021-01-12 06:24:21 -05:00
|
|
|
a(
|
|
|
|
ng-if="!pdf.downloadUrl"
|
|
|
|
disabled
|
|
|
|
href="#"
|
|
|
|
tooltip=translate('please_compile_pdf_before_download')
|
|
|
|
tooltip-placement="bottom"
|
|
|
|
)
|
|
|
|
i.fa.fa-fw.fa-download
|
2014-07-22 08:33:01 -04:00
|
|
|
a(
|
2020-09-28 06:51:15 -04:00
|
|
|
ng-href="{{pdf.downloadUrl || pdf.url}}"
|
|
|
|
target="_blank"
|
|
|
|
ng-if="pdf.url"
|
|
|
|
tooltip=translate('download_pdf')
|
2014-07-22 08:33:01 -04:00
|
|
|
tooltip-placement="bottom"
|
|
|
|
)
|
2020-09-28 06:51:15 -04:00
|
|
|
i.fa.fa-fw.fa-download
|
|
|
|
|
|
|
|
.toolbar-right
|
|
|
|
span.auto-compile-status.small(
|
|
|
|
ng-show="changesToAutoCompile && !compiling && !autoCompileLintingError"
|
|
|
|
) #{translate('uncompiled_changes')}
|
|
|
|
span.auto-compile-status.auto-compile-error.small(
|
|
|
|
ng-show="autoCompileLintingError"
|
|
|
|
tooltip-placement="bottom"
|
|
|
|
tooltip=translate("code_check_failed_explanation")
|
|
|
|
tooltip-append-to-body="true"
|
|
|
|
)
|
|
|
|
i.fa.fa-fw.fa-exclamation-triangle
|
|
|
|
|
|
|
|
|
| #{translate("code_check_failed")}
|
|
|
|
a(
|
|
|
|
href,
|
|
|
|
ng-click="switchToFlatLayout('pdf')"
|
|
|
|
ng-show="ui.pdfLayout == 'sideBySide'"
|
|
|
|
tooltip=translate('full_screen')
|
2021-09-23 06:35:25 -04:00
|
|
|
tooltip-placement="left"
|
2020-09-28 06:51:15 -04:00
|
|
|
tooltip-append-to-body="true"
|
|
|
|
)
|
|
|
|
i.fa.fa-expand
|
|
|
|
a(
|
|
|
|
href,
|
|
|
|
ng-click="switchToSideBySideLayout('editor')"
|
|
|
|
ng-show="ui.pdfLayout == 'flat'"
|
|
|
|
tooltip=translate('split_screen')
|
2021-09-23 06:35:25 -04:00
|
|
|
tooltip-placement="left"
|
2020-09-28 06:51:15 -04:00
|
|
|
tooltip-append-to-body="true"
|
|
|
|
)
|
|
|
|
i.fa.fa-compress
|
|
|
|
// end of toolbar
|
2016-03-21 11:16:17 -04:00
|
|
|
|
2020-09-28 06:51:15 -04:00
|
|
|
// logs view
|
|
|
|
.pdf-logs(ng-show="shouldShowLogs")
|
|
|
|
.alert.alert-success(ng-show="pdf.logEntries.all.length == 0 && !pdf.failure")
|
|
|
|
| #{translate("no_errors_good_job")}
|
2014-06-30 06:35:32 -04:00
|
|
|
|
2020-09-28 06:51:15 -04:00
|
|
|
.alert.alert-danger(ng-show="pdf.failure")
|
|
|
|
strong #{translate("compile_error")}.
|
|
|
|
span #{translate("generic_failed_compile_message")}.
|
2014-06-30 06:35:32 -04:00
|
|
|
|
2020-09-28 06:51:15 -04:00
|
|
|
.alert.alert-danger(ng-show="pdf.failedCheck")
|
|
|
|
strong #{translate("failed_compile_check")}.
|
|
|
|
p
|
|
|
|
p.text-center(ng-show="!check")
|
|
|
|
a.text-info(
|
|
|
|
href,
|
|
|
|
ng-disabled="pdf.compiling",
|
|
|
|
ng-click="recompile({try:true})"
|
|
|
|
) #{translate("failed_compile_check_try")}
|
|
|
|
|  #{translate("failed_compile_option_or")} 
|
|
|
|
a.text-info(
|
|
|
|
href,
|
|
|
|
ng-disabled="pdf.compiling",
|
|
|
|
ng-click="recompile({force:true})"
|
|
|
|
) #{translate("failed_compile_check_ignore")}
|
|
|
|
| .
|
2016-08-25 10:51:56 -04:00
|
|
|
|
2020-11-05 05:22:05 -05:00
|
|
|
div(ng-repeat="entry in pdf.logEntries.all")
|
2020-09-28 06:51:15 -04:00
|
|
|
.alert(
|
|
|
|
ng-class="{\
|
|
|
|
'alert-danger': entry.level == 'error',\
|
|
|
|
'alert-warning': entry.level == 'warning',\
|
|
|
|
'alert-info': entry.level == 'typesetting'\
|
|
|
|
}"
|
|
|
|
ng-click="openInEditor(entry)"
|
2016-06-24 07:12:45 -04:00
|
|
|
)
|
2020-09-28 06:51:15 -04:00
|
|
|
span.line-no
|
|
|
|
i.fa.fa-link(aria-hidden="true")
|
|
|
|
|
|
|
|
|
span(ng-show="entry.file") {{ entry.file }}
|
|
|
|
span(ng-show="entry.line") , line {{ entry.line }}
|
|
|
|
p.entry-message(ng-show="entry.message")
|
|
|
|
| {{ entry.type }} {{ entry.message }}
|
|
|
|
.card.card-hint(
|
|
|
|
ng-if="entry.humanReadableHint"
|
|
|
|
stop-propagation="click"
|
|
|
|
)
|
|
|
|
figure.card-hint-icon-container
|
|
|
|
i.fa.fa-lightbulb-o(aria-hidden="true")
|
|
|
|
p.card-hint-text(
|
|
|
|
ng-show="entry.humanReadableHint",
|
2020-10-29 06:24:07 -04:00
|
|
|
ng-bind-html="entry.humanReadableHint")
|
2020-09-28 06:51:15 -04:00
|
|
|
.card-hint-footer.clearfix
|
2020-10-29 06:24:07 -04:00
|
|
|
.card-hint-ext-link(ng-if="entry.extraInfoURL")
|
2020-09-28 06:51:15 -04:00
|
|
|
a(
|
|
|
|
ng-href="{{ entry.extraInfoURL }}",
|
|
|
|
ng-click="trackLogHintsLearnMore()"
|
|
|
|
target="_blank"
|
|
|
|
)
|
|
|
|
i.fa.fa-external-link
|
|
|
|
| #{translate("log_hint_extra_info")}
|
2016-07-22 06:56:45 -04:00
|
|
|
|
2020-09-28 06:51:15 -04:00
|
|
|
p.entry-content(ng-show="entry.content") {{ entry.content.trim() }}
|
2014-06-29 09:22:08 -04:00
|
|
|
|
2020-09-28 06:51:15 -04:00
|
|
|
div
|
|
|
|
.files-dropdown-container
|
2014-06-30 07:05:43 -04:00
|
|
|
a.btn.btn-default.btn-sm(
|
2020-09-28 06:51:15 -04:00
|
|
|
href,
|
|
|
|
tooltip=translate('clear_cached_files'),
|
|
|
|
tooltip-placement="top",
|
|
|
|
tooltip-append-to-body="true",
|
|
|
|
ng-click="openClearCacheModal()"
|
|
|
|
)
|
|
|
|
i.fa.fa-trash-o
|
|
|
|
|
|
|
|
|
div.files-dropdown(
|
|
|
|
ng-class="shouldDropUp ? 'dropup' : 'dropdown'"
|
|
|
|
dropdown
|
2014-06-30 07:05:43 -04:00
|
|
|
)
|
2020-09-28 06:51:15 -04:00
|
|
|
a.btn.btn-default.btn-sm(
|
|
|
|
href
|
|
|
|
dropdown-toggle
|
|
|
|
)
|
2020-12-02 05:03:03 -05:00
|
|
|
| #{translate("other_logs_and_files")}
|
2020-09-28 06:51:15 -04:00
|
|
|
span.caret
|
|
|
|
ul.dropdown-menu.dropdown-menu-right
|
|
|
|
li(ng-repeat="file in pdf.outputFiles")
|
|
|
|
a(
|
2021-05-17 05:38:35 -04:00
|
|
|
ng-href="{{file.url}}"
|
2020-09-28 06:51:15 -04:00
|
|
|
target="_blank"
|
|
|
|
) {{ file.name }}
|
|
|
|
a.btn.btn-info.btn-sm(href, ng-click="toggleRawLog()")
|
|
|
|
span(ng-show="!pdf.showRawLog") #{translate("view_raw_logs")}
|
|
|
|
span(ng-show="pdf.showRawLog") #{translate("hide_raw_logs")}
|
2014-06-29 09:22:08 -04:00
|
|
|
|
2020-09-28 06:51:15 -04:00
|
|
|
pre(ng-bind="pdf.rawLog", ng-show="pdf.showRawLog")
|
2016-03-22 05:39:33 -04:00
|
|
|
|
|
|
|
|
2016-03-22 06:24:58 -04:00
|
|
|
// non-log views (pdf and errors)
|
2016-03-22 05:39:33 -04:00
|
|
|
div(ng-show="!shouldShowLogs", ng-switch on="pdf.view")
|
|
|
|
.pdf-uncompiled(ng-switch-when="uncompiled" ng-show="!pdf.compiling")
|
|
|
|
|
|
|
|
|
i.fa.fa-level-up.fa-flip-horizontal.fa-2x
|
|
|
|
| #{translate('click_here_to_preview_pdf')}
|
|
|
|
|
|
|
|
.pdf-viewer(ng-switch-when="pdf")
|
|
|
|
div(
|
|
|
|
pdfng
|
|
|
|
ng-if="settings.pdfViewer == 'pdfjs'"
|
|
|
|
pdf-src="pdf.url"
|
|
|
|
key="{{ project_id }}"
|
|
|
|
resize-on="layout:main:resize,layout:pdf:resize"
|
|
|
|
highlights="pdf.highlights"
|
|
|
|
position="pdf.position"
|
2021-05-21 07:31:47 -04:00
|
|
|
first-render-done="pdf.firstRenderDone"
|
|
|
|
update-consumed-bandwidth="pdf.updateConsumedBandwidth"
|
2016-03-22 05:39:33 -04:00
|
|
|
dbl-click-callback="syncToCode"
|
|
|
|
)
|
|
|
|
iframe(
|
2018-08-22 09:47:15 -04:00
|
|
|
ng-src="{{ pdf.url | trusted }}"
|
2016-03-22 05:39:33 -04:00
|
|
|
ng-if="settings.pdfViewer == 'native'"
|
|
|
|
)
|
|
|
|
|
2020-11-26 04:58:42 -05:00
|
|
|
if !showNewLogsUI
|
|
|
|
.pdf-validation-problems(ng-switch-when="validation-problems")
|
2016-06-02 08:09:11 -04:00
|
|
|
|
2020-11-26 04:58:42 -05:00
|
|
|
.alert.alert-danger(ng-show="pdf.validation.sizeCheck")
|
|
|
|
strong #{translate("project_too_large")}
|
|
|
|
div #{translate("project_too_large_please_reduce")}
|
|
|
|
div
|
|
|
|
li(ng-repeat="entry in pdf.validation.sizeCheck.resources") {{ '/'+entry['path'] }} - {{entry['kbSize']}}kb
|
|
|
|
|
|
|
|
.alert.alert-danger(ng-show="pdf.validation.conflictedPaths")
|
|
|
|
div
|
|
|
|
strong #{translate("conflicting_paths_found")}
|
|
|
|
div !{translate("following_paths_conflict")}
|
|
|
|
div
|
|
|
|
li(ng-repeat="entry in pdf.validation.conflictedPaths") {{ '/'+entry['path'] }}
|
2016-06-02 08:09:11 -04:00
|
|
|
|
2020-11-26 04:58:42 -05:00
|
|
|
.alert.alert-danger(ng-show="pdf.validation.mainFile")
|
|
|
|
strong #{translate("main_file_not_found")}
|
|
|
|
span #{translate("please_set_main_file")}
|
2016-06-02 08:09:11 -04:00
|
|
|
|
2020-11-26 04:58:42 -05:00
|
|
|
.pdf-errors(ng-switch-when="errors")
|
|
|
|
|
|
|
|
.alert.alert-danger(ng-show="pdf.error")
|
|
|
|
strong #{translate("server_error")}
|
|
|
|
span #{translate("somthing_went_wrong_compiling")}
|
2016-04-25 07:42:03 -04:00
|
|
|
|
2020-11-26 04:58:42 -05:00
|
|
|
.alert.alert-danger(ng-show="pdf.renderingError")
|
|
|
|
strong #{translate("pdf_rendering_error")}
|
|
|
|
span #{translate("something_went_wrong_rendering_pdf")}
|
|
|
|
|
|
|
|
.alert.alert-danger(ng-show="pdf.clsiMaintenance")
|
|
|
|
strong #{translate("server_error")}
|
|
|
|
span #{translate("clsi_maintenance")}
|
2016-03-22 05:39:33 -04:00
|
|
|
|
2020-11-26 04:58:42 -05:00
|
|
|
.alert.alert-danger(ng-show="pdf.clsiUnavailable")
|
|
|
|
strong #{translate("server_error")}
|
|
|
|
span #{translate("clsi_unavailable")}
|
2020-06-12 04:27:19 -04:00
|
|
|
|
2020-11-26 04:58:42 -05:00
|
|
|
.alert.alert-danger(ng-show="pdf.tooRecentlyCompiled")
|
|
|
|
strong #{translate("server_error")}
|
|
|
|
span #{translate("too_recently_compiled")}
|
2016-07-14 09:48:46 -04:00
|
|
|
|
2020-11-26 04:58:42 -05:00
|
|
|
.alert.alert-danger(ng-show="pdf.compileTerminated")
|
|
|
|
strong #{translate("terminated")}.
|
|
|
|
span #{translate("compile_terminated_by_user")}
|
|
|
|
|
|
|
|
.alert.alert-danger(ng-show="pdf.rateLimited")
|
|
|
|
strong #{translate("pdf_compile_rate_limit_hit")}
|
|
|
|
span #{translate("project_flagged_too_many_compiles")}
|
2016-07-14 09:48:46 -04:00
|
|
|
|
2020-11-26 04:58:42 -05:00
|
|
|
.alert.alert-danger(ng-show="pdf.compileInProgress")
|
|
|
|
strong #{translate("pdf_compile_in_progress_error")}.
|
|
|
|
span #{translate("pdf_compile_try_again")}
|
2017-09-26 03:07:35 -04:00
|
|
|
|
2020-11-26 04:58:42 -05:00
|
|
|
.alert.alert-danger(ng-show="pdf.timedout")
|
|
|
|
p
|
|
|
|
strong #{translate("timedout")}.
|
|
|
|
span #{translate("proj_timed_out_reason")}
|
|
|
|
p
|
|
|
|
a.text-info(href="https://www.sharelatex.com/learn/Debugging_Compilation_timeout_errors", target="_blank")
|
|
|
|
| #{translate("learn_how_to_make_documents_compile_quickly")}
|
2016-03-22 05:39:33 -04:00
|
|
|
|
2020-11-26 04:58:42 -05:00
|
|
|
if settings.enableSubscriptions
|
|
|
|
.alert.alert-success(ng-show="pdf.timedout && !hasPremiumCompile")
|
|
|
|
p(ng-if="project.owner._id == user.id")
|
|
|
|
strong #{translate("upgrade_for_longer_compiles")}
|
|
|
|
p(ng-if="project.owner._id != user.id")
|
|
|
|
strong #{translate("ask_proj_owner_to_upgrade_for_longer_compiles")}
|
|
|
|
p #{translate("free_accounts_have_timeout_upgrade_to_increase")}
|
|
|
|
p #{translate("plus_upgraded_accounts_receive")}:
|
|
|
|
div
|
|
|
|
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")}
|
|
|
|
li
|
|
|
|
i.fa.fa-check
|
|
|
|
| #{translate("sync_to_github")}
|
|
|
|
li
|
|
|
|
i.fa.fa-check
|
|
|
|
|#{translate("compile_larger_projects")}
|
|
|
|
p(ng-controller="FreeTrialModalController", ng-if="project.owner._id == user.id")
|
|
|
|
a.btn.btn-success.row-spaced-small(
|
|
|
|
href
|
|
|
|
ng-class="buttonClass"
|
|
|
|
ng-click="startFreeTrial('compile-timeout')"
|
|
|
|
) #{translate("start_free_trial")}
|
2017-10-03 11:23:49 -04:00
|
|
|
|
2020-11-26 04:58:42 -05:00
|
|
|
.alert.alert-danger(ng-show="pdf.autoCompileDisabled")
|
|
|
|
p
|
|
|
|
strong #{translate("autocompile_disabled")}.
|
|
|
|
span #{translate("autocompile_disabled_reason")}
|
2017-10-03 11:23:49 -04:00
|
|
|
|
2020-11-26 04:58:42 -05:00
|
|
|
.alert.alert-danger(ng-show="pdf.projectTooLarge")
|
|
|
|
strong #{translate("project_too_large")}
|
2021-06-10 07:26:45 -04:00
|
|
|
span #{translate("project_too_much_editable_text")}
|
2016-03-22 05:39:33 -04:00
|
|
|
|
2014-06-30 07:36:17 -04:00
|
|
|
|
|
|
|
script(type='text/ng-template', id='clearCacheModalTemplate')
|
|
|
|
.modal-header
|
2014-07-31 12:07:43 -04:00
|
|
|
h3 #{translate("clear_cache")}?
|
2014-06-30 07:36:17 -04:00
|
|
|
.modal-body
|
2014-07-31 12:07:43 -04:00
|
|
|
p #{translate("clear_cache_explanation")}
|
|
|
|
p #{translate("clear_cache_is_safe")}
|
2020-10-20 08:44:19 -04:00
|
|
|
.alert.alert-danger(ng-if="state.error") #{translate("generic_something_went_wrong")}.
|
2014-06-30 07:36:17 -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-06-30 07:36:17 -04:00
|
|
|
button.btn.btn-info(
|
|
|
|
ng-click="clear()"
|
|
|
|
ng-disabled="state.inflight"
|
|
|
|
)
|
2014-07-31 12:07:43 -04:00
|
|
|
span(ng-show="!state.inflight") #{translate("clear_cache")}
|
2020-04-22 05:35:33 -04:00
|
|
|
span(ng-show="state.inflight") #{translate("clearing")}…
|