Don't open modal box if it doesn't have a big photo.

This commit is contained in:
Gunther Brunner
2014-09-12 19:32:35 +09:00
parent a4a46fc48b
commit bd7035c670
2 changed files with 9 additions and 4 deletions

View File

@@ -17,7 +17,7 @@
tr
td(translate) Place
td {{device.provider.name}}
tr
tr(ng-show='device.name && device.image')
td
td
button(ng-click='openDevicePhoto(device)').btn.btn-xs.btn-primary-outline
@@ -61,6 +61,9 @@
.widget-content.padded-small
table.table.table-condensed.table-hover.table-infocard
tbody
tr
td(translate) Size
td {{device.display.inches}}''
tr
td(translate) Density
td {{device.display.density | displayDensity}}