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