From 1036ca85bac0a3ea0e83000bc3a3d1f495801487 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Mon, 7 Nov 2016 11:27:11 +0100 Subject: [PATCH] Set title of status indicator in the list --- src/templates/attract/shots/for_project.jade | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/templates/attract/shots/for_project.jade b/src/templates/attract/shots/for_project.jade index 27223d5..dc6219e 100644 --- a/src/templates/attract/shots/for_project.jade +++ b/src/templates/attract/shots/for_project.jade @@ -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 %}