mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 10:10:08 +02:00
Move "reducing_compile_timeout" notice to the bottom of the box (#17840)
GitOrigin-RevId: 6dc28cb41af28947c4e43ab57d26518c0c0a3245
This commit is contained in:
@@ -165,39 +165,6 @@ const PreventTimeoutHelpMessage = memo(function PreventTimeoutHelpMessage({
|
||||
headerTitle={t('reasons_for_compile_timeouts')}
|
||||
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>
|
||||
<ul>
|
||||
<li>
|
||||
@@ -258,6 +225,39 @@ const PreventTimeoutHelpMessage = memo(function PreventTimeoutHelpMessage({
|
||||
]}
|
||||
/>
|
||||
</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
|
||||
|
||||
Reference in New Issue
Block a user