浏览代码

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

Romain Rigaux 13 年之前
父节点
当前提交
53ab476
共有 1 个文件被更改,包括 7 次插入1 次删除
  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