~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/base/ivle-headings.html

Only display tabs and overlays when we are logged in, and JavaScript settings
when we are not in public mode.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 
11
11
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
12
12
 
13
 
      <script py:if="write_javascript_settings" type="text/javascript">
 
13
      <script py:if="not publicmode and write_javascript_settings" type="text/javascript">
14
14
        root_dir = "${root_dir}";
15
15
        public_host = "${public_host}";
16
16
        username = "${login}";
56
56
          <p py:otherwise="" class="userhello">Not logged in.</p>
57
57
        </py:choose>
58
58
      </div>
59
 
      <div id="ivleheader_tabs">
 
59
      <div py:if="logged_in" id="ivleheader_tabs">
60
60
        <ul id="apptabs">
61
61
          <py:for each="app in apps_in_tabs">
62
62
            <li py:if="app['this_app']" class="thisapp"><py:if test="app['has_icon']"><img src="${app['icon_url']}" alt="" /> </py:if><a href="${app['path']}" title="${app['desc']}">${app['name']}</a></li>