File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
readthedocsext/theme/templates/projects Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 9
9
{% block project_edit_content_header %}{% trans "Translations" %}{% endblock %}
10
10
11
11
{% block project_edit_content %}
12
- {% if project.main_language_project %}
12
+ {% if not project.supports_translations %}
13
+ {% url 'projects_advanced' project_slug=project.slug as advanced_settings_url %}
14
+ < div class ="ui icon message ">
15
+ < i class ="fa-duotone fa-circle-exclamation icon "> </ i >
16
+ < div class ="content ">
17
+ < div class ="header ">
18
+ {% trans "Translations are not supported" %}
19
+ </ div >
20
+ < p >
21
+ {% blocktrans trimmed with advanced_settings_url=advanced_settings_url %}
22
+ This project is < a href ="{{ advanced_settings_url }} "> configured</ a > with a versioning scheme that doesn't support translations.
23
+ {% endblocktrans %}
24
+ </ p >
25
+ </ div >
26
+ {% elif project.main_language_project %}
13
27
< div class ="ui icon message ">
14
28
< i class ="fa-duotone fa-diagram-nested icon "> </ i >
15
29
< div class ="content ">
You can’t perform that action at this time.
0 commit comments