Fixed device redirect when not usable.

This commit is contained in:
Gunther Brunner
2014-05-29 02:27:08 +09:00
parent aa8f8fd999
commit 12fc884f78
10 changed files with 62 additions and 64 deletions

View File

@@ -3,8 +3,9 @@
button(type='button', ng-click='cancel()').close ×
h4.modal-title.text-danger
i.fa.fa-warning
span(translate) Device was disconnected
.modal-body.text-danger(translate) Device is not in use anymore
.button-spacer
span(translate) Device was disconnected
.modal-body.text-danger(translate) You are no longer controlling the device.
.modal-footer
button.btn.btn-primary(type='button', ng-click='ok()')
i.fa.fa-refresh

View File

@@ -1,4 +1,4 @@
module.exports = function FatalMessageServiceFactory($modal, $location) {
module.exports = function ServiceFactory($modal, $location) {
var service = {}
var ModalInstanceCtrl = function ($scope, $modalInstance) {

View File

@@ -2,7 +2,7 @@ describe('VersionUpdateService', function() {
beforeEach(module('stf.version-update'));
it('should ...', inject(function(FatalMessageService) {
it('should ...', inject(function(VersionUpdateService) {
//expect(FatalMessageService.doSomething()).toEqual('something');