correctly color create buttons
This commit is contained in:
parent
9fe00faaf3
commit
ad561b806e
1 changed files with 4 additions and 4 deletions
|
@ -50,7 +50,7 @@ class App.ChannelEmailFilter extends App.Controller
|
|||
render: =>
|
||||
data = App.PostmasterFilter.search( sortBy: 'name' )
|
||||
|
||||
template = $( '<div><div class="overview"></div><a data-type="new" class="btn btn-default">' + App.i18n.translateContent('New') + '</a></div>' )
|
||||
template = $( '<div><div class="overview"></div><a data-type="new" class="btn btn--success">' + App.i18n.translateContent('New') + '</a></div>' )
|
||||
|
||||
new App.ControllerTable(
|
||||
el: template.find('.overview')
|
||||
|
@ -137,7 +137,7 @@ class App.ChannelEmailAddress extends App.Controller
|
|||
render: =>
|
||||
data = App.EmailAddress.search( sortBy: 'realname' )
|
||||
|
||||
template = $( '<div><div class="overview"></div><a data-type="new" class="btn btn-default">' + App.i18n.translateContent('New') + '</a></div>' )
|
||||
template = $( '<div><div class="overview"></div><a data-type="new" class="btn btn--success">' + App.i18n.translateContent('New') + '</a></div>' )
|
||||
|
||||
new App.ControllerTable(
|
||||
el: template.find('.overview')
|
||||
|
@ -225,7 +225,7 @@ class App.ChannelEmailSignature extends App.Controller
|
|||
render: =>
|
||||
data = App.Signature.search( sortBy: 'name' )
|
||||
|
||||
template = $( '<div><div class="overview"></div><a data-type="new" class="btn btn-default">' + App.i18n.translateContent('New') + '</a></div>' )
|
||||
template = $( '<div><div class="overview"></div><a data-type="new" class="btn btn--success">' + App.i18n.translateContent('New') + '</a></div>' )
|
||||
new App.ControllerTable(
|
||||
el: template.find('.overview')
|
||||
model: App.Signature
|
||||
|
@ -310,7 +310,7 @@ class App.ChannelEmailInbound extends App.Controller
|
|||
render: =>
|
||||
channels = App.Channel.search( filter: { area: 'Email::Inbound' } )
|
||||
|
||||
template = $( '<div><div class="overview"></div><a data-type="new" class="btn btn-default">' + App.i18n.translateContent('New') + '</a></div>' )
|
||||
template = $( '<div><div class="overview"></div><a data-type="new" class="btn btn--success">' + App.i18n.translateContent('New') + '</a></div>' )
|
||||
|
||||
new App.ControllerTable(
|
||||
el: template.find('.overview')
|
||||
|
|
Loading…
Reference in a new issue