Show shot thumbnails.
This commit is contained in:
@@ -15,10 +15,8 @@
|
||||
.table-head
|
||||
.table-row
|
||||
.table-cell.shot-status
|
||||
| {# Temporarily hide thumbnails until they're implemented
|
||||
.table-cell.shot-thumbnail
|
||||
span.collapser(title="Collapse thumbnails") Thumbnail
|
||||
| #}
|
||||
.table-cell.shot-name
|
||||
span.collapser(title="Collapse name column") Name
|
||||
| {% for task_type in task_types %}
|
||||
@@ -32,15 +30,13 @@
|
||||
id="shot-{{ shot._id }}",
|
||||
class="status-{{ shot.properties.status }}")
|
||||
.table-cell.shot-status
|
||||
| {# Temporarily hide thumbnails until they're implemented
|
||||
.table-cell.shot-thumbnail
|
||||
a(
|
||||
data-shot-id="{{ shot._id }}",
|
||||
href="{{ url_for('attract.shots.perproject.view_shot', project_url=project.url, shot_id=shot._id) }}",
|
||||
class="status-{{ shot.properties.status }} shot-link")
|
||||
img(src="{{ url_for('static_attract', filename='assets/img/placeholder.jpg') }}",
|
||||
img(src="{{ shot._thumbnail }}",
|
||||
alt="Thumbnail",width="110",height='60')
|
||||
| #}
|
||||
.table-cell.shot-name
|
||||
a(
|
||||
data-shot-id="{{ shot._id }}",
|
||||
|
Reference in New Issue
Block a user