Merge branch 'develop' of git.znuny.com:zammad/zammad into develop

This commit is contained in:
Martin Edenhofer 2018-02-19 11:16:18 +01:00
commit 313e0c3ee9
5 changed files with 25 additions and 2 deletions

View file

@ -774,6 +774,8 @@ class App.ControllerModal extends App.Controller
if @container
@el.addClass('modal--local')
if @veryLarge
@el.addClass('modal--veryLarge')
if @large
@el.addClass('modal--large')
if @small

View file

@ -3,7 +3,7 @@ class App.TicketMerge extends App.ControllerModal
buttonCancel: true
buttonSubmit: true
head: 'Merge'
large: true
veryLarge: true
shown: false
constructor: ->

View file

@ -6208,6 +6208,9 @@ footer {
margin: 35px auto;
}
}
.modal--veryLarge .modal-dialog {
max-width: 990px;
}
.modal--large .modal-dialog {
max-width: 740px;
}
@ -6286,7 +6289,7 @@ footer {
.modal.modal--local {
display: block;
@include bidi-style(padding-left, 40px, padding-right, 0);
padding: 0 40px;
.modal-backdrop {
background: hsla(210,17%,93%,.55);

View file

@ -3,6 +3,17 @@
module Import
class Base
# Checks if the backend is active.
#
# @example
# Import::ExampleBackend.active?
# #=> true
#
# return [Boolean]
def self.active?
true
end
# Checks if the backend is able to get queued by the Scheduler.
#
# @example

View file

@ -4,6 +4,13 @@ require 'lib/import/import_job_backend_examples'
RSpec.describe Import::Base do
it_behaves_like 'ImportJob backend'
describe '#active?' do
it 'returns true by default' do
expect(described_class.active?).to be true
end
end
describe '#queueable?' do
it 'returns true by default' do