Explorar o código

[shell] Ambiguous message when launching the app with no shell

Romain Rigaux %!s(int64=13) %!d(string=hai) anos
pai
achega
53ab476
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      apps/shell/src/shell/templates/index.mako

+ 7 - 1
apps/shell/src/shell/templates/index.mako

@@ -105,7 +105,13 @@ from desktop.views import commonheader, commonfooter
     <span id="shell_id" class="hide">${shell_id}</span>
   % else:
     <div>
-        <h3>Please select one of the available shells from the toolbar above.</h3>
+        <h3>
+            % if shells:
+                Please select one of the available shells from the toolbar above.
+            % else:
+                You don't have permission to access any shell or there is no configured shell.
+            % endif
+        </h3>
     </div>
   % endif