mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 16:43:26 +02:00
Fixed device redirect when not usable.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
module.exports = function FatalMessageServiceFactory($modal, $location) {
|
||||
module.exports = function ServiceFactory($modal, $location) {
|
||||
var service = {}
|
||||
|
||||
var ModalInstanceCtrl = function ($scope, $modalInstance) {
|
||||
|
||||
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user