mirror of
https://github.com/sismics/docs.git
synced 2024-11-22 14:07:55 +01:00
#254: no 404 if no main file for a document
This commit is contained in:
parent
cee82f39c2
commit
4ebf621e11
@ -284,7 +284,7 @@
|
||||
<div ng-repeat-start="document in documents" class="col-md-4">
|
||||
<div class="thumbnail" ng-class="{ active: $stateParams.id == document.id }">
|
||||
<a href="#/document/view/{{ document.id }}" class="file-thumbnail">
|
||||
<img class="img-responsive" ng-src="../api/file/{{ document.file_id }}/data?size=thumb" />
|
||||
<img class="img-responsive" ng-if="document.file_id" ng-src="../api/file/{{ document.file_id }}/data?size=thumb" />
|
||||
</a>
|
||||
|
||||
<div class="file-info">
|
||||
|
Loading…
Reference in New Issue
Block a user