Skip to content
Snippets Groups Projects
Commit cf734d89 authored by Jaden Diefenbaugh's avatar Jaden Diefenbaugh
Browse files

fixed template perms

parent 409da1be
No related branches found
No related tags found
1 merge request!223Reports overhaul
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
<table id="{{ panel_id }}" class="table table-hover table-condensed object-list experiment-list"> <table id="{{ panel_id }}" class="table table-hover table-condensed object-list experiment-list">
<thead> <thead>
<tr> <tr>
{% if not report_number %} {% if not report_number and owner %}
<th class='delete'></th> <th class='delete'></th>
{% endif %} {% endif %}
<th class="attestation"></th> <th class="attestation"></th>
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
{% for obj in objects %} {% for obj in objects %}
{% with obj.get_status_display as status %} {% with obj.get_status_display as status %}
<tr class="{{ status }}"> <tr class="{{ status }}">
{% if not report_number %} {% if not report_number and owner %}
<td class="delete"> <td class="delete">
<input <input
name='ctrl.expNamesToRemove[]' name='ctrl.expNamesToRemove[]'
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
</div> </div>
</div><!-- col --> </div><!-- col -->
</div><!-- row --> </div><!-- row -->
{% if not report_number %} {% if not report_number and owner %}
<div> <div>
<button <button
ng-disabled='ctrl.expNamesToRemove.length == 0' ng-disabled='ctrl.expNamesToRemove.length == 0'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment