webpackJsonp([214],{808:function(a,e,t){var n=t(39);a.exports=(n["default"]||n).template({1:function(a,e,t,n,l,r,s){var i,c=null!=e?e:a.nullContext||{},o=t.helperMissing,d=a.escapeExpression;return'    <div class="btn-toolbar page-toolbar">\r\n        <button class="btn btn-primary" data-add-service>\r\n            <i class="fa fa-plus"></i> '+d((t.t||e&&e.t||o).call(c,"console.services.list.addService",{name:"t",hash:{},data:l}))+'\r\n        </button>\r\n        <button data-delete-services disabled class="btn btn-default" type="button"><i class="fa fa-times"></i> '+d((t.t||e&&e.t||o).call(c,"common.form.delete",{name:"t",hash:{},data:l}))+'</button>\r\n    </div>\r\n\r\n    <div class="panel panel-default">\r\n        <div class="panel-body">\r\n            <div class="table-container">\r\n                <table class="table">\r\n                    <thead>\r\n                        <tr>\r\n                            <th class="select-all-header-cell"></th>\r\n                            <th>'+d((t.t||e&&e.t||o).call(c,"console.services.list.grid.header.0",{name:"t",hash:{},data:l}))+'</th>\r\n                            <th class="fr-col-btn-2"/>\r\n                        </tr>\r\n                    </thead>\r\n                    <tbody>\r\n'+(null!=(i=t.each.call(c,null!=e?e.services:e,{name:"each",hash:{},fn:a.program(2,l,0,r,s),inverse:a.noop,data:l}))?i:"")+"                    </tbody>\r\n                </table>\r\n            </div>\r\n        </div>\r\n    </div>\r\n"},2:function(a,e,t,n,l,r,s){var i,c=null!=e?e:a.nullContext||{},o=t.helperMissing,d="function",u=a.escapeExpression;return'                            <tr data-service-id="'+u((i=null!=(i=t._id||(null!=e?e._id:e))?i:o,typeof i===d?i.call(c,{name:"_id",hash:{},data:l}):i))+'">\r\n                                <td class="select-row-cell">\r\n                                    <input data-select-service type="checkbox"/>\r\n                                </td>\r\n                                <td class="wordwrap">\r\n                                    <a href="'+u((t.routeTo||e&&e.routeTo||o).call(c,"realmsServiceEdit",null!=s[1]?s[1].realmPath:s[1],null!=e?e._id:e,{name:"routeTo",hash:{},data:l}))+'" title="'+u((t.t||e&&e.t||o).call(c,"common.form.edit",{name:"t",hash:{},data:l}))+'">'+u((i=null!=(i=t.name||(null!=e?e.name:e))?i:o,typeof i===d?i.call(c,{name:"name",hash:{},data:l}):i))+'</a>\r\n                                </td>\r\n                                <td class="fr-col-btn-2">\r\n                                    <div class="btn-group">\r\n                                        <a class="btn btn-link" href="'+u((t.routeTo||e&&e.routeTo||o).call(c,"realmsServiceEdit",null!=s[1]?s[1].realmPath:s[1],null!=e?e._id:e,{name:"routeTo",hash:{},data:l}))+'" title="'+u((t.t||e&&e.t||o).call(c,"common.form.edit",{name:"t",hash:{},data:l}))+'">\r\n                                            <i class="fa fa-pencil"/>\r\n                                        </a>\r\n                                        <button type="button" data-delete-service class="btn btn-link" title="'+u((t.t||e&&e.t||o).call(c,"common.form.delete",{name:"t",hash:{},data:l}))+'">\r\n                                            <i class="fa fa-close"/>\r\n                                        </button>\r\n                                    </div>\r\n                                </td>\r\n                            </tr>\r\n'},4:function(a,e,t,n,l){var r=null!=e?e:a.nullContext||{},s=t.helperMissing,i=a.escapeExpression;return'    <div class="panel panel-default">\r\n        <div class="panel-body">\r\n            <div class="call-to-action-block">\r\n                <h3>'+i((t.t||e&&e.t||s).call(r,"console.services.list.addServicePrompt",{name:"t",hash:{},data:l}))+'</h3>\r\n                <a class="btn btn-primary" href="'+i((t.routeTo||e&&e.routeTo||s).call(r,"realmsServiceNew",null!=e?e.realmPath:e,{name:"routeTo",hash:{},data:l}))+'">\r\n                    <i class="fa fa-plus"></i> '+i((t.t||e&&e.t||s).call(r,"console.services.list.addService",{name:"t",hash:{},data:l}))+"\r\n                </a>\r\n            </div>\r\n        </div>\r\n    </div>\r\n"},compiler:[7,">= 4.0.0"],main:function(a,e,t,n,l,r,s){var i,c=null!=e?e:a.nullContext||{};return(null!=(i=a.invokePartial(n["headers/_Title"],e,{name:"headers/_Title",hash:{title:"console.services.list.title"},data:l,helpers:t,partials:n,decorators:a.decorators}))?i:"")+'\r\n<p class="page-description">'+a.escapeExpression((t.t||e&&e.t||t.helperMissing).call(c,"console.services.list.description",{name:"t",hash:{},data:l}))+"</p>\r\n"+(null!=(i=t["if"].call(c,null!=(i=null!=e?e.services:e)?i.length:i,{name:"if",hash:{},fn:a.program(1,l,0,r,s),inverse:a.program(4,l,0,r,s),data:l}))?i:"")},usePartial:true,useData:true,useDepths:true})}});
//# sourceMappingURL=admin-views-realms-services-ServicesTemplate.d6f7c5e50c.js.map