Show More
@@ -53,7 +53,7 b' class RepoCachesView(RepoAppView):' | |||
|
53 | 53 | c.cached_diff_size = 0 |
|
54 | 54 | if os.path.isdir(cached_diffs_dir): |
|
55 | 55 | c.cached_diff_size = system_info.get_storage_size(cached_diffs_dir) |
|
56 | ||
|
56 | c.shadow_repos = c.rhodecode_db_repo.shadow_repos() | |
|
57 | 57 | return self._get_template_context(c) |
|
58 | 58 | |
|
59 | 59 | @LoginRequired() |
@@ -52,6 +52,28 b'' | |||
|
52 | 52 | </div> |
|
53 | 53 | </div> |
|
54 | 54 | |
|
55 | <div class="panel panel-default"> | |
|
56 | <div class="panel-heading"> | |
|
57 | <h3 class="panel-title">${_('Shadow Repositories')}</h3> | |
|
58 | </div> | |
|
59 | <div class="panel-body"> | |
|
60 | <table class="rctable edit_cache"> | |
|
61 | % if c.shadow_repos: | |
|
62 | % for shadow_repo in c.shadow_repos: | |
|
63 | <tr> | |
|
64 | <td>${shadow_repo}</td> | |
|
65 | </tr> | |
|
66 | % endfor | |
|
67 | % else: | |
|
68 | <tr> | |
|
69 | <td>${_('No Shadow repositories exist for this repository.')}</td> | |
|
70 | </tr> | |
|
71 | % endif | |
|
72 | ||
|
73 | </table> | |
|
74 | </div> | |
|
75 | </div> | |
|
76 | ||
|
55 | 77 | |
|
56 | 78 | <div class="panel panel-default"> |
|
57 | 79 | <div class="panel-heading"> |
General Comments 0
You need to be logged in to leave comments.
Login now