~allenap/maas/retry-integrity-errors

« back to all changes in this revision

Viewing changes to src/maasserver/templates/maasserver/js-conf.html

  • Committer: MAAS Lander
  • Author(s): Blake Rouse
  • Date: 2016-06-14 20:52:22 UTC
  • mfrom: (5097.5.2 add-rack-ui)
  • Revision ID: maas_lander-20160614205222-a8m4roqzf6n3v6m7
[r=andreserl][bug=1592282][author=blake-rouse] Add a add rack controller button and dropdown on the controller listing.

The registerUrl and registerSecret are only exposed to administrators the information is not even exposed to standard users.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
        images_handler: '{% url "images" %}'
19
19
        },
20
20
    files_version: '{{files_version}}',
 
21
    {% if user.is_superuser %}
 
22
    register_url: '{{register_url}}',
 
23
    register_secret: '{{register_secret}}',
 
24
    {% endif %}
21
25
    debug: {% if YUI_DEBUG %}true{% else %}false{% endif %}
 
26
 
22
27
};
23
28
// -->
24
29
</script>