Skip to content

Commit

Permalink
Merge pull request #98 from jhuapl-boss/delete-button-rendering
Browse files Browse the repository at this point in the history
Missing html for is_admin variable
  • Loading branch information
sandyhider authored Oct 5, 2021
2 parents 084b97c + 2936d36 commit 64ab342
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions django/mgmt/templates/channel.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ <h3 class="panel-title">Channel Metadata</h3>
{% block js_includes %}
<script type="text/javascript" src="{% static "js/channel.js" %}"></script>
<script type="text/javascript" src="{% static "js/downsample.js" %}"></script>
<script>
var is_admin = {{is_admin}};
</script>
<script type="text/javascript">
$(function () {
$('[data-toggle="popover"]').popover();
Expand Down
3 changes: 3 additions & 0 deletions django/mgmt/templates/collection.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ <h3 class="panel-title">Collection Metadata</h3>


{% block js_includes %}
<script>
var is_admin = {{is_admin}};
</script>
<script type="text/javascript" src="{% static "js/collections.js" %}"></script>
<script type="text/javascript">
$(function () {
Expand Down
3 changes: 3 additions & 0 deletions django/mgmt/templates/collections.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ <h3 id="coord_panel" class="panel-title">Coordinate Frames</h3>


{% block js_includes %}
<script>
var is_admin = {{is_admin}};
</script>
<script type="text/javascript" src="{% static "js/collections.js" %}"></script>
<script type="text/javascript">
$(function () {
Expand Down
3 changes: 3 additions & 0 deletions django/mgmt/templates/experiment.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ <h3 class="panel-title">Experiment Metadata</h3>


{% block js_includes %}
<script>
var is_admin = {{is_admin}};
</script>
<script type="text/javascript" src="{% static "js/experiments.js" %}"></script>
<script type="text/javascript">
$(function () {
Expand Down

0 comments on commit 64ab342

Please sign in to comment.