Эх сурвалжийг харах

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

Romain Rigaux 13 жил өмнө
parent
commit
53ab476

+ 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