Set title of status indicator in the list

This commit is contained in:
2016-11-07 11:27:11 +01:00
parent 3d6e8a0678
commit 1036ca85ba

View File

@@ -30,7 +30,8 @@
.table-row(
id="shot-{{ shot._id }}",
class="status-{{ shot.properties.status }} {{ shot.properties.used_in_edit | yesno(' ,not-in-edit, ') }}")
.table-cell.shot-status
.table-cell.shot-status(
title="Status: {{ shot.properties.status | undertitle }}")
.table-cell.shot-thumbnail
a(
data-shot-id="{{ shot._id }}",
@@ -135,10 +136,10 @@ script.
resizeHeight: false
});
// Set height of shot-list and item details so we can scroll inside them
$(window).on('load resize', function(){
var window_height = $(window).height() - 50; // header is 50px
$('#shot-list').css({'height': window_height});
$('#item-details').css({'height': window_height});
});
| {% endblock footer_scripts %}