File tree Expand file tree Collapse file tree 1 file changed +6
-18
lines changed
readthedocsext/theme/templates/projects/partials Expand file tree Collapse file tree 1 file changed +6
-18
lines changed Original file line number Diff line number Diff line change 1
1
{% load trans blocktrans from i18n %}
2
- {% load user_has_github_app_account from readthedocs.socialaccounts %}
3
2
4
3
{% comment rst %}
5
4
Project automatic configuration view
100
99
101
100
</ div >
102
101
< div class ="ui small bottom attached center aligned message ">
103
- < p > {% trans "Can't find the repository you are searching for?" %}</ p >
104
102
105
- < p >
106
- {% if user|user_has_github_app_account %}
107
- < a class ="ui mini black basic compact button "
108
- href ="https://github.com/apps/{{ GITHUB_APP_NAME }}/installations/new/ "
109
- target ="_blank ">
110
- < i class ="fa-brands fa-github icon "> </ i >
111
- {% trans "Update GitHub App permissions" %}
112
- </ a >
103
+ {% trans "Can't find the repository you are searching for?" %}
113
104
114
- {% trans "or" %}
115
- {% endif %}
105
+ < button class ="ui mini black basic compact right aligned button "
106
+ data-bind ="click: sync_remote_repos, css: {disabled: is_syncing(), loading: is_syncing()} ">
107
+ < i class ="fa-duotone fa-refresh icon "> </ i >
108
+ {% trans "Refresh your repositories" %}
109
+ </ button >
116
110
117
- < button class ="ui mini black basic compact button "
118
- data-bind ="click: sync_remote_repos, css: {disabled: is_syncing(), loading: is_syncing()} ">
119
- < i class ="fa-duotone fa-refresh icon "> </ i >
120
- {% trans "Refresh your repositories" %}
121
- </ button >
122
- </ p >
123
111
</ div >
124
112
</ div >
125
113
{% endblock project_add_automatic_placeholder %}
You can’t perform that action at this time.
0 commit comments