# HG changeset patch # User Marcin Kuzminski # Date 2017-12-07 13:32:36 # Node ID 9ef21084078966cfa375469a9b7f615688d235ed # Parent acc267068e9da08470b7b7dc03efb92f15cc9d92 ui: hide empty no repos or no repo groups display. It often happens that starting page is just a list of groups. Showing always no repos doesn't look good. - also show empty panel for a case when both are empty diff --git a/rhodecode/public/css/main.less b/rhodecode/public/css/main.less --- a/rhodecode/public/css/main.less +++ b/rhodecode/public/css/main.less @@ -1849,6 +1849,13 @@ BIN_FILENODE = 7 } } +.no-object-border { + text-align: center; + padding: 20px; + border-radius: @border-radius-base; + border: 1px solid @grey4; + color: @grey4; +} .creation_in_progress { color: @grey4 diff --git a/rhodecode/templates/index_base.mako b/rhodecode/templates/index_base.mako --- a/rhodecode/templates/index_base.mako +++ b/rhodecode/templates/index_base.mako @@ -60,34 +60,23 @@
+ + ## no repository groups and repos present, show something to the users + % if c.repo_groups_data == '[]' and c.repos_data == '[]': +
+

+ ${_('No repositories or repositories groups exists here.')} +

+
+ % endif +