mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Move "reducing_compile_timeout" notice to the bottom of the box (#17840)
GitOrigin-RevId: 6dc28cb41af28947c4e43ab57d26518c0c0a3245
This commit is contained in:
parent
038b460e24
commit
8e0e2041a7
1 changed files with 33 additions and 33 deletions
|
@ -165,39 +165,6 @@ const PreventTimeoutHelpMessage = memo(function PreventTimeoutHelpMessage({
|
||||||
headerTitle={t('reasons_for_compile_timeouts')}
|
headerTitle={t('reasons_for_compile_timeouts')}
|
||||||
formattedContent={
|
formattedContent={
|
||||||
<>
|
<>
|
||||||
<p>
|
|
||||||
<em>
|
|
||||||
{compileTimeChanging ? (
|
|
||||||
<>
|
|
||||||
{isProjectOwner ? (
|
|
||||||
<Trans
|
|
||||||
i18nKey="were_in_the_process_of_reducing_compile_timeout_which_may_affect_your_project"
|
|
||||||
components={[compileTimeoutChangesBlogLink]}
|
|
||||||
/>
|
|
||||||
) : (
|
|
||||||
<Trans
|
|
||||||
i18nKey="were_in_the_process_of_reducing_compile_timeout_which_may_affect_this_project"
|
|
||||||
components={[compileTimeoutChangesBlogLink]}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
</>
|
|
||||||
) : (
|
|
||||||
<>
|
|
||||||
{isProjectOwner ? (
|
|
||||||
<Trans
|
|
||||||
i18nKey="weve_recently_reduced_the_compile_timeout_limit_which_may_have_affected_your_project"
|
|
||||||
components={[compileTimeoutChangesBlogLink]}
|
|
||||||
/>
|
|
||||||
) : (
|
|
||||||
<Trans
|
|
||||||
i18nKey="weve_recently_reduced_the_compile_timeout_limit_which_may_have_affected_this_project"
|
|
||||||
components={[compileTimeoutChangesBlogLink]}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
</>
|
|
||||||
)}
|
|
||||||
</em>
|
|
||||||
</p>
|
|
||||||
<p>{t('common_causes_of_compile_timeouts_include')}:</p>
|
<p>{t('common_causes_of_compile_timeouts_include')}:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
|
@ -258,6 +225,39 @@ const PreventTimeoutHelpMessage = memo(function PreventTimeoutHelpMessage({
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
|
<p>
|
||||||
|
<em>
|
||||||
|
{compileTimeChanging ? (
|
||||||
|
<>
|
||||||
|
{isProjectOwner ? (
|
||||||
|
<Trans
|
||||||
|
i18nKey="were_in_the_process_of_reducing_compile_timeout_which_may_affect_your_project"
|
||||||
|
components={[compileTimeoutChangesBlogLink]}
|
||||||
|
/>
|
||||||
|
) : (
|
||||||
|
<Trans
|
||||||
|
i18nKey="were_in_the_process_of_reducing_compile_timeout_which_may_affect_this_project"
|
||||||
|
components={[compileTimeoutChangesBlogLink]}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
</>
|
||||||
|
) : (
|
||||||
|
<>
|
||||||
|
{isProjectOwner ? (
|
||||||
|
<Trans
|
||||||
|
i18nKey="weve_recently_reduced_the_compile_timeout_limit_which_may_have_affected_your_project"
|
||||||
|
components={[compileTimeoutChangesBlogLink]}
|
||||||
|
/>
|
||||||
|
) : (
|
||||||
|
<Trans
|
||||||
|
i18nKey="weve_recently_reduced_the_compile_timeout_limit_which_may_have_affected_this_project"
|
||||||
|
components={[compileTimeoutChangesBlogLink]}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
|
</>
|
||||||
|
)}
|
||||||
|
</em>
|
||||||
|
</p>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
|
Loading…
Reference in a new issue