2014-07-22 12:33:01 +00:00
|
|
|
div.full-size.pdf(ng-controller="PdfController")
|
2018-02-08 10:24:21 +00:00
|
|
|
.toolbar.toolbar-pdf(ng-class="{ 'uncompiled-changes': uncompiledChanges && !autoCompileLintingError }")
|
2017-11-23 16:42:38 +00:00
|
|
|
.btn-group.btn-recompile-group#recompile(
|
2016-06-14 16:02:22 +00:00
|
|
|
dropdown,
|
2017-01-31 14:57:22 +00:00
|
|
|
tooltip-html="'"+translate('recompile_pdf')+" <span class=\"keyboard-shortcut\">({{modifierKey}} + Enter)</span>'"
|
2016-06-15 09:48:40 +00:00
|
|
|
tooltip-class="keyboard-tooltip"
|
2016-06-14 16:02:22 +00:00
|
|
|
tooltip-popup-delay="500"
|
|
|
|
tooltip-append-to-body="true"
|
2016-06-15 09:48:40 +00:00
|
|
|
tooltip-placement="bottom"
|
2016-06-14 16:02:22 +00:00
|
|
|
)
|
2017-11-23 16:42:38 +00:00
|
|
|
a.btn.btn-recompile(
|
2016-02-02 14:50:48 +00:00
|
|
|
href,
|
|
|
|
ng-disabled="pdf.compiling",
|
|
|
|
ng-click="recompile()"
|
|
|
|
)
|
|
|
|
i.fa.fa-refresh(
|
|
|
|
ng-class="{'fa-spin': pdf.compiling }"
|
|
|
|
)
|
|
|
|
|
|
|
|
|
span(ng-show="!pdf.compiling") #{translate("recompile")}
|
|
|
|
span(ng-show="pdf.compiling") #{translate("compiling")}...
|
2017-11-23 16:42:38 +00:00
|
|
|
a.btn.btn-recompile.dropdown-toggle(
|
2016-02-02 14:50:48 +00:00
|
|
|
href,
|
|
|
|
ng-disabled="pdf.compiling",
|
|
|
|
dropdown-toggle
|
2014-06-29 13:22:08 +00:00
|
|
|
)
|
2016-02-02 14:50:48 +00:00
|
|
|
span.caret
|
2016-08-03 15:30:18 +00:00
|
|
|
ul.dropdown-menu.dropdown-menu-left
|
2018-01-17 15:04:24 +00:00
|
|
|
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')}
|
2016-02-02 14:50:48 +00:00
|
|
|
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]
|
2016-08-24 15:05:22 +00:00
|
|
|
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")}
|
2016-08-11 12:55:47 +00:00
|
|
|
li
|
|
|
|
a(href, ng-click="recompile({check:true})")
|
|
|
|
i.fa.fa-fw()
|
2016-08-26 14:14:57 +00:00
|
|
|
| #{translate("run_syntax_check_now")}
|
2016-07-18 14:00:16 +00:00
|
|
|
a(
|
2016-07-14 13:48:46 +00:00
|
|
|
href
|
|
|
|
ng-click="stop()"
|
|
|
|
ng-show="pdf.compiling",
|
2017-01-31 14:57:22 +00:00
|
|
|
tooltip=translate('stop_compile')
|
2016-07-14 13:48:46 +00:00
|
|
|
tooltip-placement="bottom"
|
|
|
|
)
|
2018-02-08 14:41:39 +00:00
|
|
|
i.fa.fa-fw.fa-stop()
|
2014-06-29 13:22:08 +00:00
|
|
|
a.log-btn(
|
2014-06-28 12:25:06 +00:00
|
|
|
href
|
2014-06-29 13:22:08 +00:00
|
|
|
ng-click="toggleLogs()"
|
2016-03-22 09:39:33 +00:00
|
|
|
ng-class="{ 'active': shouldShowLogs == true }"
|
2017-01-31 14:57:22 +00:00
|
|
|
tooltip=translate('logs_and_output_files')
|
2014-06-28 12:25:06 +00:00
|
|
|
tooltip-placement="bottom"
|
|
|
|
)
|
2018-02-08 14:41:39 +00:00
|
|
|
i.fa.fa-fw.fa-file-text-o
|
2014-06-30 10:35:32 +00:00
|
|
|
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 }}
|
2014-07-22 12:33:01 +00:00
|
|
|
|
2014-07-28 16:24:43 +00:00
|
|
|
a(
|
2016-06-01 15:47:55 +00:00
|
|
|
ng-href="{{pdf.downloadUrl || pdf.url}}"
|
2014-07-28 16:24:43 +00:00
|
|
|
target="_blank"
|
|
|
|
ng-if="pdf.url"
|
2017-01-31 14:57:22 +00:00
|
|
|
tooltip=translate('download_pdf')
|
2014-07-28 16:24:43 +00:00
|
|
|
tooltip-placement="bottom"
|
|
|
|
)
|
2018-02-08 14:41:39 +00:00
|
|
|
i.fa.fa-fw.fa-download
|
2014-07-28 16:24:43 +00:00
|
|
|
|
2014-07-22 12:33:01 +00:00
|
|
|
.toolbar-right
|
2018-02-08 10:24:21 +00:00
|
|
|
span.auto-compile-status.small(
|
|
|
|
ng-show="uncompiledChanges && !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")}
|
2014-07-22 12:33:01 +00:00
|
|
|
a(
|
|
|
|
href,
|
|
|
|
ng-click="switchToFlatLayout()"
|
|
|
|
ng-show="ui.pdfLayout == 'sideBySide'"
|
2017-01-31 14:57:22 +00:00
|
|
|
tooltip=translate('full_screen')
|
2014-07-22 12:33:01 +00:00
|
|
|
tooltip-placement="bottom"
|
|
|
|
tooltip-append-to-body="true"
|
|
|
|
)
|
2017-11-24 15:53:49 +00:00
|
|
|
i.fa.fa-expand
|
2014-07-22 12:33:01 +00:00
|
|
|
i.full-screen
|
|
|
|
a(
|
|
|
|
href,
|
|
|
|
ng-click="switchToSideBySideLayout()"
|
|
|
|
ng-show="ui.pdfLayout == 'flat'"
|
2017-01-31 14:57:22 +00:00
|
|
|
tooltip=translate('split_screen')
|
2014-07-22 12:33:01 +00:00
|
|
|
tooltip-placement="bottom"
|
|
|
|
tooltip-append-to-body="true"
|
|
|
|
)
|
2017-11-24 15:53:49 +00:00
|
|
|
i.fa.fa-compress
|
2014-07-22 12:33:01 +00:00
|
|
|
i.split-screen
|
|
|
|
i.split-screen
|
2016-03-21 15:00:25 +00:00
|
|
|
// end of toolbar
|
2016-03-21 15:16:17 +00:00
|
|
|
|
2016-03-22 10:24:58 +00:00
|
|
|
// logs view
|
2016-03-22 09:39:33 +00:00
|
|
|
.pdf-logs(ng-show="shouldShowLogs")
|
2014-06-30 10:35:32 +00:00
|
|
|
.alert.alert-success(ng-show="pdf.logEntries.all.length == 0")
|
2014-07-31 16:07:43 +00:00
|
|
|
| #{translate("no_errors_good_job")}
|
2014-06-30 10:35:32 +00:00
|
|
|
|
|
|
|
.alert.alert-danger(ng-show="pdf.failure")
|
2014-07-31 16:07:43 +00:00
|
|
|
strong #{translate("compile_error")}.
|
|
|
|
span #{translate("generic_failed_compile_message")}.
|
2014-06-30 10:35:32 +00:00
|
|
|
|
2016-08-25 14:51:56 +00:00
|
|
|
.alert.alert-danger(ng-show="pdf.failedCheck")
|
2016-08-26 14:14:57 +00:00
|
|
|
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 14:51:56 +00:00
|
|
|
|
2014-06-30 12:41:32 +00:00
|
|
|
div(ng-repeat="entry in pdf.logEntries.all", ng-controller="PdfLogEntryController")
|
2014-06-29 13:22:08 +00:00
|
|
|
.alert(
|
|
|
|
ng-class="{\
|
|
|
|
'alert-danger': entry.level == 'error',\
|
|
|
|
'alert-warning': entry.level == 'warning',\
|
|
|
|
'alert-info': entry.level == 'typesetting'\
|
|
|
|
}"
|
2014-06-30 12:41:32 +00:00
|
|
|
ng-click="openInEditor(entry)"
|
2016-07-25 15:12:56 +00:00
|
|
|
ng-init="feedbackSent = false; showNegFeedbackUI = false; negFeedbackReason = ''; negFeedbackReasonFreeText = ''"
|
2014-06-29 13:22:08 +00:00
|
|
|
)
|
|
|
|
span.line-no
|
2016-06-24 15:37:35 +00:00
|
|
|
i.fa.fa-link(aria-hidden="true")
|
|
|
|
|
|
2014-06-29 13:22:08 +00:00
|
|
|
span(ng-show="entry.file") {{ entry.file }}
|
|
|
|
span(ng-show="entry.line") , line {{ entry.line }}
|
2016-07-26 15:26:27 +00:00
|
|
|
p.entry-message(ng-show="entry.message")
|
2016-08-03 15:30:33 +00:00
|
|
|
| {{ entry.type }} {{ entry.message }}
|
2016-06-24 11:12:45 +00:00
|
|
|
.card.card-hint(
|
|
|
|
ng-if="entry.humanReadableHint"
|
|
|
|
stop-propagation="click"
|
|
|
|
)
|
2016-06-17 13:16:38 +00:00
|
|
|
figure.card-hint-icon-container
|
|
|
|
i.fa.fa-lightbulb-o(aria-hidden="true")
|
2016-06-27 10:34:24 +00:00
|
|
|
p.card-hint-text(
|
|
|
|
ng-show="entry.humanReadableHint",
|
|
|
|
ng-bind-html="wikiEnabled ? entry.humanReadableHint : stripHTMLFromString(entry.humanReadableHint)")
|
|
|
|
.card-hint-actions.clearfix
|
2016-07-28 15:41:02 +00:00
|
|
|
.card-hint-ext-link(ng-if="wikiEnabled && entry.extraInfoURL")
|
2016-07-05 15:27:14 +00:00
|
|
|
a(
|
|
|
|
ng-href="{{ entry.extraInfoURL }}",
|
|
|
|
ng-click="trackLogHintsLearnMore()"
|
|
|
|
target="_blank"
|
|
|
|
)
|
2016-06-20 10:53:10 +00:00
|
|
|
i.fa.fa-external-link
|
|
|
|
| #{translate("log_hint_extra_info")}
|
2016-06-20 16:32:57 +00:00
|
|
|
.card-hint-feedback(
|
2016-07-22 13:14:58 +00:00
|
|
|
ng-hide="feedbackSent || showNegFeedbackUI"
|
2016-06-20 16:32:57 +00:00
|
|
|
ng-class="entry.ruleId"
|
|
|
|
)
|
|
|
|
label.card-hint-feedback-label #{translate("log_hint_feedback_label")}
|
2016-06-20 14:04:47 +00:00
|
|
|
a.card-hint-feedback-positive(
|
2016-06-30 10:30:30 +00:00
|
|
|
ng-click="trackLogHintsPositiveFeedback(entry.ruleId); feedbackSent = true;"
|
2016-06-24 14:22:34 +00:00
|
|
|
href
|
2016-06-20 14:04:47 +00:00
|
|
|
) #{translate("answer_yes")}
|
2016-06-21 13:20:23 +00:00
|
|
|
span /
|
2016-06-20 14:04:47 +00:00
|
|
|
a.card-hint-feedback-negative(
|
2016-07-22 13:14:58 +00:00
|
|
|
ng-click="trackLogHintsNegativeFeedback(entry.ruleId); showNegFeedbackUI = true;"
|
2016-06-24 14:22:34 +00:00
|
|
|
href
|
2016-06-20 14:04:47 +00:00
|
|
|
) #{translate("answer_no")}
|
2016-07-22 15:33:19 +00:00
|
|
|
.card-hint-extra-feedback(ng-hide="!showNegFeedbackUI || feedbackSent")
|
2016-07-26 10:56:15 +00:00
|
|
|
p.card-hint-extra-feedback-label #{translate("log_hint_ask_extra_feedback")}
|
2016-07-22 10:56:45 +00:00
|
|
|
.radio: label
|
|
|
|
input(
|
|
|
|
type="radio"
|
2016-07-26 13:47:48 +00:00
|
|
|
name="{{ 'neg-feedback-reason-' + $index }}"
|
2016-07-22 10:56:45 +00:00
|
|
|
ng-model="negFeedbackReason"
|
2016-07-25 15:12:56 +00:00
|
|
|
value="{{ logHintsNegFeedbackValues.DIDNT_UNDERSTAND }}"
|
2016-07-22 10:56:45 +00:00
|
|
|
)
|
2016-07-26 10:56:15 +00:00
|
|
|
| #{translate("log_hint_extra_feedback_didnt_understand")}
|
2016-07-22 10:56:45 +00:00
|
|
|
.radio: label
|
|
|
|
input(
|
|
|
|
type="radio"
|
2016-07-26 13:47:48 +00:00
|
|
|
name="{{ 'neg-feedback-reason-' + $index }}"
|
2016-07-22 10:56:45 +00:00
|
|
|
ng-model="negFeedbackReason"
|
2016-07-25 15:12:56 +00:00
|
|
|
value="{{ logHintsNegFeedbackValues.NOT_APPLICABLE }}"
|
2016-07-22 10:56:45 +00:00
|
|
|
)
|
2016-07-26 10:56:15 +00:00
|
|
|
| #{translate("log_hint_extra_feedback_not_applicable")}
|
2016-07-22 10:56:45 +00:00
|
|
|
.radio: label
|
|
|
|
input(
|
|
|
|
type="radio"
|
2016-07-26 13:47:48 +00:00
|
|
|
name="{{ 'neg-feedback-reason-' + $index }}"
|
2016-07-22 10:56:45 +00:00
|
|
|
ng-model="negFeedbackReason"
|
2016-07-25 15:12:56 +00:00
|
|
|
value="{{ logHintsNegFeedbackValues.INCORRECT }}"
|
2016-07-22 10:56:45 +00:00
|
|
|
)
|
2016-07-26 10:56:15 +00:00
|
|
|
| #{translate("log_hint_extra_feedback_incorrect")}
|
2016-07-22 10:56:45 +00:00
|
|
|
.radio: label
|
|
|
|
input(
|
|
|
|
type="radio"
|
2016-07-26 13:47:48 +00:00
|
|
|
name="{{ 'neg-feedback-reason-' + $index }}"
|
2016-07-22 10:56:45 +00:00
|
|
|
ng-model="negFeedbackReason"
|
2016-07-25 15:12:56 +00:00
|
|
|
value="{{ logHintsNegFeedbackValues.OTHER }}"
|
2016-07-22 10:56:45 +00:00
|
|
|
)
|
2016-07-26 10:56:15 +00:00
|
|
|
| #{translate("log_hint_extra_feedback_other")}
|
2016-07-22 11:20:26 +00:00
|
|
|
textarea.form-control(
|
2016-07-25 15:12:56 +00:00
|
|
|
ng-show="negFeedbackReason === logHintsNegFeedbackValues.OTHER"
|
2016-07-26 10:37:51 +00:00
|
|
|
ng-model="negFeedbackReasonFreeText"
|
2016-07-22 11:20:26 +00:00
|
|
|
rows="2"
|
|
|
|
)
|
2016-07-22 10:56:45 +00:00
|
|
|
.clearfix
|
2016-07-22 13:14:58 +00:00
|
|
|
button.btn.btn-default.btn-sm.pull-right(
|
|
|
|
ng-disabled="!negFeedbackReason"
|
2016-07-26 10:37:51 +00:00
|
|
|
ng-click="trackLogHintsNegFeedbackDetails(entry.ruleId, negFeedbackReason, negFeedbackReasonFreeText); feedbackSent = true;"
|
2016-07-26 10:56:15 +00:00
|
|
|
) #{translate("log_hint_extra_feedback_submit")}
|
2016-07-22 10:56:45 +00:00
|
|
|
|
2016-06-20 14:04:47 +00:00
|
|
|
.card-hint-feedback(ng-show="feedbackSent")
|
2016-06-20 16:32:57 +00:00
|
|
|
label.card-hint-feedback-label #{translate("log_hint_feedback_gratitude")}
|
2016-07-22 10:56:45 +00:00
|
|
|
|
2016-06-24 11:07:02 +00:00
|
|
|
p.entry-content(ng-show="entry.content") {{ entry.content.trim() }}
|
2014-06-29 13:22:08 +00:00
|
|
|
|
2016-10-13 10:30:13 +00:00
|
|
|
div
|
2016-06-28 14:51:50 +00:00
|
|
|
.files-dropdown-container
|
2014-06-30 11:05:43 +00:00
|
|
|
a.btn.btn-default.btn-sm(
|
|
|
|
href,
|
2017-01-31 14:57:22 +00:00
|
|
|
tooltip=translate('clear_cached_files'),
|
2014-06-30 11:05:43 +00:00
|
|
|
tooltip-placement="top",
|
2014-06-30 11:36:17 +00:00
|
|
|
tooltip-append-to-body="true",
|
|
|
|
ng-click="openClearCacheModal()"
|
2014-06-30 11:05:43 +00:00
|
|
|
)
|
2014-06-29 13:22:08 +00:00
|
|
|
i.fa.fa-trash-o
|
2014-06-30 11:05:43 +00:00
|
|
|
|
|
2016-06-28 14:48:11 +00:00
|
|
|
div.files-dropdown(
|
|
|
|
ng-class="shouldDropUp ? 'dropup' : 'dropdown'"
|
|
|
|
dropdown
|
|
|
|
)
|
2014-06-30 11:05:43 +00:00
|
|
|
a.btn.btn-default.btn-sm(
|
|
|
|
href
|
2014-07-02 12:29:56 +00:00
|
|
|
dropdown-toggle
|
2014-06-30 11:05:43 +00:00
|
|
|
)
|
2016-06-28 14:48:11 +00:00
|
|
|
| !{translate("other_logs_and_files")}
|
2014-06-30 11:05:43 +00:00
|
|
|
span.caret
|
|
|
|
ul.dropdown-menu.dropdown-menu-right
|
|
|
|
li(ng-repeat="file in pdf.outputFiles")
|
|
|
|
a(
|
2016-05-18 11:50:50 +00:00
|
|
|
href="{{file.url}}"
|
2014-06-30 11:05:43 +00:00
|
|
|
target="_blank"
|
|
|
|
) {{ file.name }}
|
|
|
|
a.btn.btn-info.btn-sm(href, ng-click="toggleRawLog()")
|
2014-07-31 16:07:43 +00:00
|
|
|
span(ng-show="!pdf.showRawLog") #{translate("view_raw_logs")}
|
|
|
|
span(ng-show="pdf.showRawLog") #{translate("hide_raw_logs")}
|
2014-06-29 13:22:08 +00:00
|
|
|
|
2014-06-30 11:05:43 +00:00
|
|
|
pre(ng-bind="pdf.rawLog", ng-show="pdf.showRawLog")
|
2016-03-22 09:39:33 +00:00
|
|
|
|
|
|
|
|
2016-03-22 10:24:58 +00:00
|
|
|
// non-log views (pdf and errors)
|
2016-03-22 09:39:33 +00: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"
|
|
|
|
dbl-click-callback="syncToCode"
|
|
|
|
)
|
|
|
|
iframe(
|
|
|
|
ng-src="{{ pdf.url }}"
|
|
|
|
ng-if="settings.pdfViewer == 'native'"
|
|
|
|
)
|
|
|
|
|
2016-06-02 12:09:11 +00:00
|
|
|
.pdf-validation-problems(ng-switch-when="validation-problems")
|
|
|
|
|
|
|
|
.alert.alert-danger(ng-show="pdf.validation.duplicatePaths")
|
|
|
|
strong #{translate("latex_error")}
|
|
|
|
span #{translate("duplicate_paths_found")}
|
|
|
|
|
|
|
|
|
|
|
|
.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")}
|
2017-02-17 11:05:17 +00:00
|
|
|
div !{translate("following_paths_conflict")}
|
2016-06-02 12:09:11 +00:00
|
|
|
div
|
|
|
|
li(ng-repeat="entry in pdf.validation.conflictedPaths") {{ '/'+entry['path'] }}
|
|
|
|
|
2017-10-17 14:47:50 +00:00
|
|
|
.alert.alert-danger(ng-show="pdf.validation.mainFile")
|
|
|
|
strong #{translate("main_file_not_found")}
|
|
|
|
span #{translate("please_set_main_file")}
|
2016-06-02 12:09:11 +00:00
|
|
|
|
2016-03-22 09:39:33 +00:00
|
|
|
.pdf-errors(ng-switch-when="errors")
|
|
|
|
|
2016-04-25 11:42:03 +00:00
|
|
|
.alert.alert-danger(ng-show="pdf.error")
|
2016-03-22 09:39:33 +00:00
|
|
|
strong #{translate("server_error")}
|
|
|
|
span #{translate("somthing_went_wrong_compiling")}
|
2016-04-25 11:42:03 +00:00
|
|
|
|
|
|
|
.alert.alert-danger(ng-show="pdf.renderingError")
|
|
|
|
strong #{translate("pdf_rendering_error")}
|
|
|
|
span #{translate("something_went_wrong_rendering_pdf")}
|
2016-03-22 09:39:33 +00:00
|
|
|
|
|
|
|
.alert.alert-danger(ng-show="pdf.clsiMaintenance")
|
|
|
|
strong #{translate("server_error")}
|
|
|
|
span #{translate("clsi_maintenance")}
|
|
|
|
|
|
|
|
.alert.alert-danger(ng-show="pdf.tooRecentlyCompiled")
|
|
|
|
strong #{translate("server_error")}
|
|
|
|
span #{translate("too_recently_compiled")}
|
2016-07-14 13:48:46 +00:00
|
|
|
|
|
|
|
.alert.alert-danger(ng-show="pdf.compileTerminated")
|
|
|
|
strong #{translate("terminated")}.
|
|
|
|
span #{translate("compile_terminated_by_user")}
|
2017-04-24 14:56:09 +00:00
|
|
|
|
|
|
|
.alert.alert-danger(ng-show="pdf.rateLimited")
|
|
|
|
strong #{translate("pdf_compile_rate_limit_hit")}
|
|
|
|
span #{translate("project_flagged_too_many_compiles")}
|
2016-07-14 13:48:46 +00:00
|
|
|
|
2017-09-26 07:07:35 +00:00
|
|
|
.alert.alert-danger(ng-show="pdf.compileInProgress")
|
2017-09-28 14:12:37 +00:00
|
|
|
strong #{translate("pdf_compile_in_progress_error")}.
|
2017-09-26 07:07:35 +00:00
|
|
|
span #{translate("pdf_compile_try_again")}
|
|
|
|
|
2016-03-22 09:39:33 +00: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")}
|
|
|
|
|
2018-05-15 09:17:04 +00:00
|
|
|
if settings.enableSubscriptions
|
|
|
|
.alert.alert-success(ng-show="pdf.timedout && !hasPremiumCompile")
|
|
|
|
p(ng-if="project.owner._id == user.id")
|
|
|
|
strong #{translate("upgrade_for_faster_compiles")}
|
|
|
|
p(ng-if="project.owner._id != user.id")
|
|
|
|
strong #{translate("ask_proj_owner_to_upgrade_for_faster_compiles")}
|
|
|
|
p #{translate("free_accounts_have_timeout_upgrade_to_increase")}
|
|
|
|
p Plus:
|
|
|
|
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 15:23:49 +00:00
|
|
|
|
2017-10-09 14:21:01 +00:00
|
|
|
.alert.alert-danger(ng-show="pdf.autoCompileDisabled")
|
2017-10-03 15:23:49 +00:00
|
|
|
p
|
|
|
|
strong #{translate("autocompile_disabled")}.
|
|
|
|
span #{translate("autocompile_disabled_reason")}
|
|
|
|
|
2016-04-15 08:45:48 +00:00
|
|
|
.alert.alert-danger(ng-show="pdf.projectTooLarge")
|
|
|
|
strong #{translate("project_too_large")}
|
|
|
|
span #{translate("project_too_large_please_reduce")}
|
2016-03-22 09:39:33 +00:00
|
|
|
|
2014-06-30 11:36:17 +00:00
|
|
|
|
|
|
|
script(type='text/ng-template', id='clearCacheModalTemplate')
|
|
|
|
.modal-header
|
2014-07-31 16:07:43 +00:00
|
|
|
h3 #{translate("clear_cache")}?
|
2014-06-30 11:36:17 +00:00
|
|
|
.modal-body
|
2014-07-31 16:07:43 +00:00
|
|
|
p #{translate("clear_cache_explanation")}
|
|
|
|
p #{translate("clear_cache_is_safe")}
|
2014-06-30 11:36:17 +00:00
|
|
|
.modal-footer
|
|
|
|
button.btn.btn-default(
|
|
|
|
ng-click="cancel()"
|
|
|
|
ng-disabled="state.inflight"
|
2014-07-31 16:07:43 +00:00
|
|
|
) #{translate("cancel")}
|
2014-06-30 11:36:17 +00:00
|
|
|
button.btn.btn-info(
|
|
|
|
ng-click="clear()"
|
|
|
|
ng-disabled="state.inflight"
|
|
|
|
)
|
2014-07-31 16:07:43 +00:00
|
|
|
span(ng-show="!state.inflight") #{translate("clear_cache")}
|
|
|
|
span(ng-show="state.inflight") #{translate("clearing")}...
|