mirror of
https://github.com/openstf/stf
synced 2025-10-06 03:50:04 +02:00
Cleanup code for stf components.
This commit is contained in:
parent
7ddd464ac3
commit
bd493b210b
29 changed files with 3 additions and 189 deletions
|
@ -18,7 +18,7 @@ module.exports = function ServiceFactory($modal) {
|
|||
var modalInstance = $modal.open({
|
||||
template: require('./lightbox-image.jade'),
|
||||
controller: ModalInstanceCtrl,
|
||||
windowClass: 'modal-size-xl', // TODO: Make width dynamic adjusting
|
||||
windowClass: 'modal-size-xl',
|
||||
resolve: {
|
||||
title: function() {
|
||||
return title
|
||||
|
|
|
@ -7,4 +7,3 @@
|
|||
.modal-body
|
||||
img(ng-if='imageUrl', ng-src='{{imageUrl}}')
|
||||
nothing-to-show(message='{{"No photo available"|translate}}', icon='fa-picture-o', ng-if='!imageUrl')
|
||||
// TODO: replace !imageUrl here with a image-not-available='imageIsNotPresent = true' directive
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue