Merge branch 'develop' of git.znuny.com:zammad/zammad into develop
This commit is contained in:
commit
313e0c3ee9
5 changed files with 25 additions and 2 deletions
|
@ -774,6 +774,8 @@ class App.ControllerModal extends App.Controller
|
||||||
|
|
||||||
if @container
|
if @container
|
||||||
@el.addClass('modal--local')
|
@el.addClass('modal--local')
|
||||||
|
if @veryLarge
|
||||||
|
@el.addClass('modal--veryLarge')
|
||||||
if @large
|
if @large
|
||||||
@el.addClass('modal--large')
|
@el.addClass('modal--large')
|
||||||
if @small
|
if @small
|
||||||
|
|
|
@ -3,7 +3,7 @@ class App.TicketMerge extends App.ControllerModal
|
||||||
buttonCancel: true
|
buttonCancel: true
|
||||||
buttonSubmit: true
|
buttonSubmit: true
|
||||||
head: 'Merge'
|
head: 'Merge'
|
||||||
large: true
|
veryLarge: true
|
||||||
shown: false
|
shown: false
|
||||||
|
|
||||||
constructor: ->
|
constructor: ->
|
||||||
|
|
|
@ -6208,6 +6208,9 @@ footer {
|
||||||
margin: 35px auto;
|
margin: 35px auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.modal--veryLarge .modal-dialog {
|
||||||
|
max-width: 990px;
|
||||||
|
}
|
||||||
.modal--large .modal-dialog {
|
.modal--large .modal-dialog {
|
||||||
max-width: 740px;
|
max-width: 740px;
|
||||||
}
|
}
|
||||||
|
@ -6286,7 +6289,7 @@ footer {
|
||||||
|
|
||||||
.modal.modal--local {
|
.modal.modal--local {
|
||||||
display: block;
|
display: block;
|
||||||
@include bidi-style(padding-left, 40px, padding-right, 0);
|
padding: 0 40px;
|
||||||
|
|
||||||
.modal-backdrop {
|
.modal-backdrop {
|
||||||
background: hsla(210,17%,93%,.55);
|
background: hsla(210,17%,93%,.55);
|
||||||
|
|
|
@ -3,6 +3,17 @@
|
||||||
module Import
|
module Import
|
||||||
class Base
|
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.
|
# Checks if the backend is able to get queued by the Scheduler.
|
||||||
#
|
#
|
||||||
# @example
|
# @example
|
||||||
|
|
|
@ -4,6 +4,13 @@ require 'lib/import/import_job_backend_examples'
|
||||||
RSpec.describe Import::Base do
|
RSpec.describe Import::Base do
|
||||||
it_behaves_like 'ImportJob backend'
|
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
|
describe '#queueable?' do
|
||||||
|
|
||||||
it 'returns true by default' do
|
it 'returns true by default' do
|
||||||
|
|
Loading…
Reference in a new issue