2019-12-11 17:03:37 +00:00
< div * ngIf = "item;let item" >
< div class = "card border-0" >
< img * ngIf = "item.thumbnail" class = "card-img-top" [ src ] = " config . getConfig ( ' apiEndPoint ' ) + ' / api / v1 / items / ' + item . code + ' / thumbnail ? v = '+item.updated.getTime()" / >
< div * ngIf = "!item.thumbnail" class = "big-icon" [ style . background-color ] = " itemTypeService . getColor ( item . itemType ) " >
< i [ ngClass ] = " itemTypeService . getIcon ( item . itemType ) " > < / i >
< / div >
2019-12-20 08:53:22 +00:00
< / div >
< div class = "card" >
< div class = "card-body" >
< div class = "mb-2" > < a href = "#" ( click ) = " handleBackToList ( $ event ) " i18n > Back< / a > < / div >
< h1 class = "card-title" > {{item.name}}< / h1 >
< a * ngIf = "itemTypeService.hasViewer(item)" href = "#" ( click ) = " handleOnView ( item ) " class = "btn btn-outline-secondary" i18n > < i class = "fa fa-eye" aria-hidden = "true" title = "View" > < / i > View< / a >
2020-02-19 13:55:29 +00:00
< a [ href ] = " config . getConfig ( ' apiEndPoint ' ) + ' / api / v1 / items / ' + item . code + ' / download ' " class = "btn btn-outline-secondary" i18n > < i class = "fa fa-download" aria-hidden = "true" title = "Download" > < / i > Download< / a >
2020-02-19 08:34:35 +00:00
< a * ngIf = "item.isEditable" href = "#" class = "btn btn-outline-secondary" ( click ) = " handleOnEdit ( item ) " i18n > < i class = "fa fa-pencil" aria-hidden = "true" title = "Edit" > < / i > Edit< / a >
2019-12-20 08:53:22 +00:00
< a * ngIf = "itemTypeService.isLayer(item)" href = "#" ( click ) = " handleAddAsLayer ( item ) " class = "btn btn-outline-secondary" i18n > < i class = "fa fa-eye" aria-hidden = "true" title = "Add as layer" > < / i > Add as overlay< / a >
2019-12-11 17:03:37 +00:00
< / div >
< / div >
2019-12-20 08:47:33 +00:00
< / div >