Skip to content

Commit

Permalink
Fix variable name usage: imageset.image_lock is now imageset_lock (#134)
Browse files Browse the repository at this point in the history
* imageset.image_lock is now imageset_lock

* Remove test variable rendered in annotate view

* Update annotate.html
  • Loading branch information
WasabiFan authored and timonegk committed Jan 3, 2020
1 parent c203547 commit 7991a41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ <h3 id="active_image_name" class="panel-title">{{selected_image.name}}</h3>
</div>
{% endif %}
{% if 'delete_images' in imageset_perms and not imageset_lock %}
<div class="col-sm-12"><p>{{ imageset.image_lock }}</p></div>
<div class="col-sm-12"><p></p></div>
<div class="col-md-12">
<button type="button" class="btn btn-danger" id="delete-button" data-toggle="modal" data-target="#deleteModal" style="width: 100%">
<span class="glyphicon glyphicon-trash" aria-hidden="true" style="padding-right: 3px;"></span>Remove image from imageset
Expand Down

0 comments on commit 7991a41

Please sign in to comment.