|
26 | 26 | <a class="item {% block project_domains_active %}{% endblock %}" href="{% url "projects_domains" project.slug %}">
|
27 | 27 | {% trans "Domains" %}
|
28 | 28 | </a>
|
29 |
| - <a class="item {% block project_users_active %}{% endblock %}" href="{% url "projects_users" project.slug %}"> |
30 |
| - {% trans "Maintainers" %} |
31 |
| - </a> |
| 29 | + {% if not USE_ORGANIZATIONS %} |
| 30 | + <a class="item {% block project_users_active %}{% endblock %}" href="{% url "projects_users" project.slug %}"> |
| 31 | + {% trans "Maintainers" %} |
| 32 | + </a> |
| 33 | + {% endif %} |
| 34 | + {% if USE_ORGANIZATIONS %} |
| 35 | + <a class="item {% block project_access_tokens_active %}{% endblock %}" href="{% url "projects_temporary_access_list" project.slug %}"> |
| 36 | + {% trans "Sharing" %} |
| 37 | + </a> |
| 38 | + {% endif %} |
32 | 39 | <a class="item {% block project_translations_active %}{% endblock %}" href="{% url "projects_translations" project.slug %}">
|
33 | 40 | {% trans "Translations" %}
|
34 | 41 | </a>
|
|
38 | 45 | <a class="item {% block project_integrations_active %}{% endblock %}" href="{% url "projects_integrations" project.slug %}">
|
39 | 46 | {% trans "Integrations" %}
|
40 | 47 | </a>
|
| 48 | + {% if USE_ORGANIZATIONS %} |
| 49 | + <a class="item {% block project_keys_active %}{% endblock %}" href="{% url "projects_keys" project.slug %}"> |
| 50 | + {% trans "SSH keys" %} |
| 51 | + </a> |
| 52 | + {% endif %} |
41 | 53 | <a class="item {% block project_environment_variables_active %}{% endblock %}" href="{% url "projects_environmentvariables" project.slug %}">
|
42 | 54 | {% trans "Environment variables" %}
|
43 | 55 | </a>
|
|
71 | 83 | {% block project_edit_sidebar_help_topics_container %}
|
72 | 84 | <div class="ui basic segment">
|
73 | 85 | <h2 class="ui small header">{% trans "Help topics" %}</h2>
|
74 |
| - <div class="ui bulleted list"> |
75 |
| - {% block project_edit_sidebar_help_topics %} |
76 |
| - {% endblock project_edit_sidebar_help_topics %} |
77 |
| - {% include "includes/elements/link.html" with url="https://docs.readthedocs.io/" text=_("Documentation index") is_external=True class="item" %} |
78 |
| - </div> |
| 86 | + {% block project_edit_sidebar_help_topics_content %} |
| 87 | + <div class="ui bulleted list"> |
| 88 | + {% block project_edit_sidebar_help_topics %} |
| 89 | + {% endblock project_edit_sidebar_help_topics %} |
| 90 | + {% include "includes/elements/link.html" with url="https://docs.readthedocs.io/" text=_("Documentation index") is_external=True class="item" %} |
| 91 | + </div> |
| 92 | + {% endblock project_edit_sidebar_help_topics_content %} |
79 | 93 | </div>
|
80 | 94 | {% endblock project_edit_sidebar_help_topics_container %}
|
81 | 95 |
|
|
0 commit comments