Skip to content

Commit 417b1d5

Browse files
committed
Show friendlier message when there are no repos.
1 parent a6eb4bd commit 417b1d5

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

readthedocs/templates/projects/project_import_bitbucket.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@
6262

6363
</form>
6464
</li>
65+
{% empty %}
66+
<li class="module-item">
67+
<p class=" sync-repositories">
68+
You don't have any BitBucket repositories currently.
69+
</p>
70+
</li>
6571
{% endfor %}
6672
</ul>
6773
</div>

readthedocs/templates/projects/project_import_github.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@
6262

6363
</form>
6464
</li>
65+
{% empty %}
66+
<li class="module-item">
67+
<p class=" sync-repositories">
68+
You don't have any GitHub repositories currently.
69+
</p>
70+
</li>
6571
{% endfor %}
6672
</ul>
6773
</div>

0 commit comments

Comments
 (0)